Skip to content

setting project.shadow.component no longer available with 9.x #1709

@EugenMayer

Description

@EugenMayer

Description

using

publishing {
        publications {
            def commitref = "unknown"
            if (project.hasProperty("commitref")) {
                commitref = project.commitref
            }

            shadow(MavenPublication) { publication ->
              project.shadow.component(publication)
              ....
            }
         }
}

no longer works, specifically the part project.shadow.component(publication) - are there alternatives to it? How should it be done with the new 9.x release? Thanks a lot

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