I’ve recently made some changes to my build that result in the plugin being published with my raw groupId instead of the special gradle.plugin.my.group.id
path, particularly visible when using the old style plugin inclusion:
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "gradle.plugin.my.group:test-gradle-plugin:1.0.0"
// vs
classpath "my.group:test-gradle-plugin:1.0.0"
}
}
I can’t seem to figure out why? And I can’t debug it without the gradle plugin plugin source code (which appears to be unavailable: Source code for com.gradle.plugin-publish) . Is there some condition under which the publish functionality doesn’t prepend gradle.plugin.
to the group id? Am I overwriting it somehow and I don’t know where?