Optimise repositories declarations (#4113)

This commit is contained in:
Goooler 2023-11-23 16:41:46 +08:00 committed by GitHub
parent 2d663d8966
commit 1313371051
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 2 deletions

View File

@ -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' }
}