Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflict with java-gradle-plugin publishing #178

Open
devkanro opened this issue Feb 26, 2021 · 0 comments
Open

Conflict with java-gradle-plugin publishing #178

devkanro opened this issue Feb 26, 2021 · 0 comments

Comments

@devkanro
Copy link

devkanro commented Feb 26, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant