Skip to content

null version value is ignored in shadowJar configuration #508

@alexeyOnGitHub

Description

@alexeyOnGitHub

Shadow Version

5.1.0

Gradle Version

5.6

Expected Behavior

I want the final artifact name to not have version number in it, so I am trying this snippet from documentation:


shadowJar {
    baseName = 'shadow'
    classifier = null
    version = null
}

also tried

shadowJar {
    classifier = null
    archiveVersion = null
}

Actual Behavior

"classifier" is removed as expected, but "version" is still added to the final artifact name.

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