Slackbot
09/05/2022, 1:31 PMJendrik Johannes
09/05/2022, 1:54 PMbuildSrc
(which is “local” and only seen by the build that defines it).
There is an issue for this (feel free to upvote/comment): https://github.com/gradle/gradle/issues/17228
The solution for this right now is to add another “includeBuild” statement to your build that includes the other “gradle/plugins” and renames it:
pluginManagement {
includeBuild("gradle/plugins")
includeBuild('../path/to/otherbuild/gradle/plugins') { name = 'otherbuild-gradle-plugins' }
}
See also comment here: https://github.com/gradle/gradle/issues/17228#issuecomment-844119362Jendrik Johannes
09/05/2022, 1:55 PMNiels Doucet
09/05/2022, 2:05 PMgradle/plugins
include instead, as I'm only running composite builds when I need them (using ./gradlew build --include-build <path-to-other>
pluginManagement {
includeBuild ("gradle/plugins") {
name = "my-project-gradle-plugins"
}
}
this seems to work fineNiels Doucet
09/05/2022, 2:07 PMJendrik Johannes
09/05/2022, 2:45 PM