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")
}