Skip to content

Conflict with java-gradle-plugin publishing #178

@devkanro

Description

@devkanro

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions