Skip to content

Commit fa543ff

Browse files
committed
faster gradle sync
1 parent 5a4552e commit fa543ff

1 file changed

Lines changed: 17 additions & 3 deletions

File tree

app/settings.gradle.kts

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
1-
@Suppress("UnstableApiUsage")
1+
@file:Suppress("UnstableApiUsage")
2+
23
dependencyResolutionManagement {
34
repositoriesMode = RepositoriesMode.FAIL_ON_PROJECT_REPOS
45
repositories {
5-
google()
6+
google {
7+
content {
8+
includeGroupAndSubgroups("androidx")
9+
includeGroupAndSubgroups("com.android")
10+
includeGroupAndSubgroups("com.google")
11+
}
12+
}
613
mavenCentral()
714
maven("https://jitpack.io")
815
}
@@ -11,8 +18,15 @@ dependencyResolutionManagement {
1118
pluginManagement {
1219
includeBuild("build-logic")
1320
repositories {
21+
google {
22+
content {
23+
includeGroupAndSubgroups("androidx")
24+
includeGroupAndSubgroups("com.android")
25+
includeGroupAndSubgroups("com.google")
26+
}
27+
}
28+
mavenCentral()
1429
gradlePluginPortal()
15-
google()
1630
}
1731
}
1832

0 commit comments

Comments
 (0)