@@ -31,21 +31,33 @@ listOf(pluginManagement.repositories, dependencyResolutionManagement.repositorie
31
31
includeModuleByRegex(" androidx\\ ..*" , " .*" )
32
32
}
33
33
}
34
-
34
+ // This is used at build time but not part of pluginManagement
35
35
maven(" https://storage.googleapis.com/gradleup/m2" ) {
36
36
content {
37
- includeGroup(" com.gradleup.librarian" )
38
- includeGroup(" com.gradleup.nmcp" )
39
- includeGroup(" com.gradleup.nmcp.aggregation" )
37
+ includeModule(" com.gradleup.gratatouille" , " gratatouille-processor" )
40
38
}
41
39
}
42
40
43
- exclusiveContent {
44
- forRepository(::gradlePluginPortal)
45
- filter {
46
- includeModule(" org.jetbrains.kotlinx" , " kotlinx-benchmark-plugin" )
47
- includeModule(" com.github.ben-manes" , " gradle-versions-plugin" )
48
- includeModule(" com.gradle" , " develocity-gradle-plugin" )
41
+ if (rootProject.name == " build-logic" || it == = pluginManagement.repositories) {
42
+ // repositories only used at build time
43
+ exclusiveContent {
44
+ forRepository(::gradlePluginPortal)
45
+ filter {
46
+ includeModule(" org.jetbrains.kotlinx" , " kotlinx-benchmark-plugin" )
47
+ includeModule(" com.github.ben-manes" , " gradle-versions-plugin" )
48
+ includeModule(" com.gradle" , " develocity-gradle-plugin" )
49
+ }
50
+ }
51
+
52
+ maven(" https://storage.googleapis.com/gradleup/m2" ) {
53
+ content {
54
+ includeGroup(" com.gradleup.librarian" )
55
+ includeGroup(" com.gradleup.nmcp" )
56
+ includeGroup(" com.gradleup.nmcp.aggregat=ion" )
57
+ includeGroup(" com.gradleup.gratatouille" )
58
+ includeGroup(" com.gradleup.gratatouille.tasks" )
59
+ includeGroup(" com.gradleup.gratatouille.wiring" )
60
+ }
49
61
}
50
62
}
51
63
}
0 commit comments