1
0
mirror of https://github.com/accelforce/Yuito synced 2024-12-30 17:47:23 +01:00

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

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