Skip to content

Documentation says destinationDir which has been changed for destinationDirectory #925

Description

@cyrhi

Thank you for the plugin!

Easy fix: revert to destinationDir or update the documentation for destinationDirectory.
Not sure this change was worth breaking compatibility. I had to search the source code.

Shadow Version

8.1.1

Gradle Version

8.8

Expected Behavior

destinationDir works.

Actual Behavior

Could not set unknown property 'destinationDir' for task ':myProject:myTask' of type com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar.`

Gradle Build Script(s)

task myTask(type: ShadowJar) {
    configurations = [project.configurations.myConfiguration]
    destinationDir = file("myFolder")
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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