Skip to content

Commit

Permalink
Optimise repositories declarations (#1554)
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler authored Nov 15, 2023
1 parent 2a149ba commit 1ab2c75
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
pluginManagement {
repositories {
google()
google {
content {
includeGroupByRegex(".*google.*")
includeGroupByRegex(".*android.*")
}
}
gradlePluginPortal()
}
}
Expand All @@ -21,7 +26,12 @@ gradleEnterprise {
dependencyResolutionManagement {
repositoriesMode = RepositoriesMode.FAIL_ON_PROJECT_REPOS
repositories {
google()
google {
content {
includeGroupByRegex(".*google.*")
includeGroupByRegex(".*android.*")
}
}
mavenCentral()
maven("https://jitpack.io")
}
Expand Down

0 comments on commit 1ab2c75

Please sign in to comment.