Skip to content
This repository was archived by the owner on Oct 5, 2018. It is now read-only.
This repository was archived by the owner on Oct 5, 2018. It is now read-only.

release-opinion error with maven-publishing plugin #252

@rodney757

Description

@rodney757

I am trying to use the release-opinion plugin along with the maven-publishing plugin in a multi-project gradle build. The problem is that gradle is complaining about the publishing extension already being evaluated.

If I use the release-base plugin, this error goes away.

I was able to reproduce the bug here test-project.zip

if you go into the test directory and run the command gw tasks --include-build ../test-plugin you will experience the issue

If I apply the maven-publish plugin directly above the publishing closure in each build.gradle, it works correctly. If I apply the maven-publish plugin in the TestPlugin for each project or at the top of the build.gradle files, I get the error

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions