GradleUp / shadow

Gradle plugin to create fat/uber JARs, apply file transforms, and relocate packages for applications and libraries. Gradle version of Maven's Shade plugin.
https://www.gradleup.com/shadow/
Apache License 2.0
3.69k stars 389 forks source link

FileTreeElement.getMode()-deprecation notice #927

Closed svaningelgem closed 1 month ago

svaningelgem commented 1 month ago

Please check the User Guide before submitting "how do I do 'x'?" questions!

Shadow Version

8.1.1

Gradle Version

8.9

Expected Behavior

no deprecation warning

Actual Behavior

The FileTreeElement.getMode() method has been deprecated. This is scheduled to be removed in Gradle 9.0. Please use the getPermissions() method instead. Consult the upgrading guide for further information: https://docs.gradle.org/8.9/userguide/upgrading_version_8.html#unix_file_permissions_deprecated

Gradle Build Script(s)

shadowJar {
    archiveBaseName.set(customDescription)
    archiveClassifier.set('')
    archiveVersion.set('1.0.0')
    exclude 'META-INF/*.SF', 'META-INF/*.DSA', 'META-INF/*.RSA'
}

tasks.jar.dependsOn shadowJar

Content of Shadow JAR (jar tf <jar file> - post link to GIST if too long)

not applicable

nikitasius commented 1 month ago

bump

Goooler commented 1 month ago

See #876.