File tree Expand file tree Collapse file tree 3 files changed +28
-4
lines changed
Expand file tree Collapse file tree 3 files changed +28
-4
lines changed Original file line number Diff line number Diff line change 1616
1717dependencyResolutionManagement {
1818 repositories {
19- google()
19+ google {
20+ content {
21+ includeGroupByRegex(" com\\ .android.*" )
22+ includeGroupByRegex(" com\\ .google.*" )
23+ includeGroupByRegex(" androidx.*" )
24+ }
25+ }
2026 mavenCentral()
2127 }
2228 versionCatalogs {
Original file line number Diff line number Diff line change 1616
1717buildscript {
1818 repositories {
19- google()
19+ google {
20+ content {
21+ includeGroupByRegex(" com\\ .android.*" )
22+ includeGroupByRegex(" com\\ .google.*" )
23+ includeGroupByRegex(" androidx.*" )
24+ }
25+ }
2026 mavenCentral()
2127
2228 // Android Build Server
Original file line number Diff line number Diff line change 1717pluginManagement {
1818 includeBuild(" build-logic" )
1919 repositories {
20- google()
20+ google {
21+ content {
22+ includeGroupByRegex(" com\\ .android.*" )
23+ includeGroupByRegex(" com\\ .google.*" )
24+ includeGroupByRegex(" androidx.*" )
25+ }
26+ }
2127 mavenCentral()
2228 gradlePluginPortal()
2329 }
@@ -26,7 +32,13 @@ pluginManagement {
2632dependencyResolutionManagement {
2733 repositoriesMode = RepositoriesMode .FAIL_ON_PROJECT_REPOS
2834 repositories {
29- google()
35+ google {
36+ content {
37+ includeGroupByRegex(" com\\ .android.*" )
38+ includeGroupByRegex(" com\\ .google.*" )
39+ includeGroupByRegex(" androidx.*" )
40+ }
41+ }
3042 mavenCentral()
3143 }
3244}
You can’t perform that action at this time.
0 commit comments