Skip to content

FileTreeElement.getMode()-deprecation notice #927

@svaningelgem

Description

@svaningelgem

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

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