nebula-publishing-plugin
nebula-publishing-plugin copied to clipboard
Conflict with `java-gradle-plugin` publishing
When we build a Gradle plugin, we need to add java-gradle-plugin
for our plugin project.
java-gradle-plugin
will create a pluginMaven
publishing which contains components.java
.
Then we exec the publish
task, the pluginMaven
and nebula
publishing will overwrite each other like this:
Multiple publications with coordinates 'com.bybutter.sisyphus.tools:sisyphus-protobuf-gradle-plugin:1.0.0' are published to repository 'release'. The publications will overwrite each other!
Not use nebula publishing is a way to resolve it, but maybe we can have a more graceful resolution for it.
Maybe we can have a plugin called nebula-gradle-plugin
to coordinate java-gradle-plugin
?
Reference: gradle/gradle#10384 java-gradle-plugin