You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
When we build a Gradle plugin, we need to add
java-gradle-plugin
for our plugin project.java-gradle-plugin
will create apluginMaven
publishing which containscomponents.java
.Then we exec the
publish
task, thepluginMaven
andnebula
publishing will overwrite each other like this: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 coordinatejava-gradle-plugin
?Reference:
gradle/gradle#10384
java-gradle-plugin
The text was updated successfully, but these errors were encountered: