File tree Expand file tree Collapse file tree 2 files changed +32
-4
lines changed Expand file tree Collapse file tree 2 files changed +32
-4
lines changed Original file line number Diff line number Diff line change @@ -7,16 +7,30 @@ rootProject.name = "build-logic"
7
7
8
8
pluginManagement {
9
9
repositories {
10
+ exclusiveContent {
11
+ forRepository { google() }
12
+ filter {
13
+ includeGroupAndSubgroups(" androidx" )
14
+ includeGroupAndSubgroups(" com.android" )
15
+ includeGroup(" com.google.testing.platform" )
16
+ }
17
+ }
10
18
mavenCentral()
11
- google()
12
19
gradlePluginPortal()
13
20
}
14
21
}
15
22
16
23
dependencyResolutionManagement {
17
24
repositories {
25
+ exclusiveContent {
26
+ forRepository { google() }
27
+ filter {
28
+ includeGroupAndSubgroups(" androidx" )
29
+ includeGroupAndSubgroups(" com.android" )
30
+ includeGroup(" com.google.testing.platform" )
31
+ }
32
+ }
18
33
mavenCentral()
19
- google()
20
34
}
21
35
22
36
versionCatalogs { create(" libs" ) { from(files(" ../gradle/libs.versions.toml" )) } }
Original file line number Diff line number Diff line change @@ -8,17 +8,31 @@ rootProject.name = "dagger-rules"
8
8
pluginManagement {
9
9
includeBuild(" build-logic" )
10
10
repositories {
11
+ exclusiveContent {
12
+ forRepository { google() }
13
+ filter {
14
+ includeGroupAndSubgroups(" androidx" )
15
+ includeGroupAndSubgroups(" com.android" )
16
+ includeGroup(" com.google.testing.platform" )
17
+ }
18
+ }
11
19
mavenCentral()
12
- google()
13
20
gradlePluginPortal()
14
21
}
15
22
}
16
23
17
24
dependencyResolutionManagement {
18
25
repositoriesMode.set(RepositoriesMode .FAIL_ON_PROJECT_REPOS )
19
26
repositories {
27
+ exclusiveContent {
28
+ forRepository { google() }
29
+ filter {
30
+ includeGroupAndSubgroups(" androidx" )
31
+ includeGroupAndSubgroups(" com.android" )
32
+ includeGroup(" com.google.testing.platform" )
33
+ }
34
+ }
20
35
mavenCentral()
21
- google()
22
36
}
23
37
}
24
38
You can’t perform that action at this time.
0 commit comments