Optimise repositories declarations (#4113)
This commit is contained in:
parent
2d663d8966
commit
1313371051
1 changed files with 12 additions and 2 deletions
|
@ -1,6 +1,11 @@
|
|||
pluginManagement {
|
||||
repositories {
|
||||
google()
|
||||
google {
|
||||
content {
|
||||
includeGroupByRegex(".*google.*")
|
||||
includeGroupByRegex(".*android.*")
|
||||
}
|
||||
}
|
||||
gradlePluginPortal()
|
||||
}
|
||||
}
|
||||
|
@ -8,7 +13,12 @@ pluginManagement {
|
|||
dependencyResolutionManagement {
|
||||
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
||||
repositories {
|
||||
google()
|
||||
google {
|
||||
content {
|
||||
includeGroupByRegex(".*google.*")
|
||||
includeGroupByRegex(".*android.*")
|
||||
}
|
||||
}
|
||||
mavenCentral()
|
||||
maven { url 'https://jitpack.io' }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue