faster gradle sync

This commit is contained in:
vvb2060
2026-07-28 20:10:20 -07:00
committed by John Wu
parent ff85242a93
commit 3a9374b9c2
+17 -3
View File
@@ -1,8 +1,15 @@
@Suppress("UnstableApiUsage")
@file:Suppress("UnstableApiUsage")
dependencyResolutionManagement {
repositoriesMode = RepositoriesMode.FAIL_ON_PROJECT_REPOS
repositories {
google()
google {
content {
includeGroupAndSubgroups("androidx")
includeGroupAndSubgroups("com.android")
includeGroupAndSubgroups("com.google")
}
}
mavenCentral()
maven("https://jitpack.io")
}
@@ -11,8 +18,15 @@ dependencyResolutionManagement {
pluginManagement {
includeBuild("build-logic")
repositories {
google {
content {
includeGroupAndSubgroups("androidx")
includeGroupAndSubgroups("com.android")
includeGroupAndSubgroups("com.google")
}
}
mavenCentral()
gradlePluginPortal()
google()
}
}