Skip to content

Make published configurations configurable in VersionsPropsPlugin #1088

Open
@henryptung

Description

@henryptung

The list of published configurations should be configurable, to allow for more flexible
publish setups. As an example, the Gradle Shadow plugin adds the shadowRuntimeElements configuration to the java component for
publishing, but since this isn't addressed by the fixed published-configuration list, it leaks the broken root-project
dependency into the published POM.

Additional note: nebula-publishing-plugin v17+ uses native Javadoc and sources-jar support from Gradle.
These, however, produce additional publishing elements configurations named javadocElements
and sourcesElements, which are not properly handled by the existing list. If that list were configurable, this could be easily worked-around in-repo.

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