Merge pull request #5967 from vector-im/feature/bma/dependabot_workaround

Try to workaround Dependabot issue #5961
This commit is contained in:
Benoit Marty 2022-05-09 17:11:41 +02:00 committed by GitHub
commit 3900895fc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 23 additions and 6 deletions

View File

@ -5,7 +5,10 @@ buildscript {
apply from: 'dependencies_groups.gradle' apply from: 'dependencies_groups.gradle'
repositories { repositories {
google() // Do not use `google()`, it prevents Dependabot from working properly
maven {
url 'https://maven.google.com'
}
maven { maven {
url "https://plugins.gradle.org/m2/" url "https://plugins.gradle.org/m2/"
} }
@ -47,6 +50,7 @@ allprojects {
apply plugin: "org.jlleitschuh.gradle.ktlint" apply plugin: "org.jlleitschuh.gradle.ktlint"
repositories { repositories {
// Do not use `mavenCentral()`, it prevents Dependabot from working properly
maven { maven {
url 'https://repo1.maven.org/maven2' url 'https://repo1.maven.org/maven2'
content { content {
@ -71,14 +75,18 @@ allprojects {
groups.jitsi.group.each { includeGroup it } groups.jitsi.group.each { includeGroup it }
} }
} }
google { // Do not use `google()`, it prevents Dependabot from working properly
maven {
url 'https://maven.google.com'
content { content {
groups.google.regex.each { includeGroupByRegex it } groups.google.regex.each { includeGroupByRegex it }
groups.google.group.each { includeGroup it } groups.google.group.each { includeGroup it }
} }
} }
//noinspection JcenterRepositoryObsolete //noinspection JcenterRepositoryObsolete
jcenter { // Do not use `jcenter`, it prevents Dependabot from working properly
maven {
url 'https://jcenter.bintray.com'
content { content {
groups.jcenter.regex.each { includeGroupByRegex it } groups.jcenter.regex.each { includeGroupByRegex it }
groups.jcenter.group.each { includeGroup it } groups.jcenter.group.each { includeGroup it }

View File

@ -6,8 +6,14 @@ apply plugin: 'com.jakewharton.butterknife'
buildscript { buildscript {
repositories { repositories {
google() // Do not use `google()`, it prevents Dependabot from working properly
maven { url 'https://repo1.maven.org/maven2' } maven {
url 'https://maven.google.com'
}
// Do not use `mavenCentral()`, it prevents Dependabot from working properly
maven {
url 'https://repo1.maven.org/maven2'
}
} }
dependencies { dependencies {
classpath 'com.jakewharton:butterknife-gradle-plugin:10.2.3' classpath 'com.jakewharton:butterknife-gradle-plugin:10.2.3'

View File

@ -7,7 +7,10 @@ apply plugin: "org.jetbrains.dokka"
buildscript { buildscript {
repositories { repositories {
maven { url 'https://repo1.maven.org/maven2' } // Do not use `mavenCentral()`, it prevents Dependabot from working properly
maven {
url 'https://repo1.maven.org/maven2'
}
} }
dependencies { dependencies {
classpath "io.realm:realm-gradle-plugin:10.9.0" classpath "io.realm:realm-gradle-plugin:10.9.0"