Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileTreeElement.getMode()-deprecation notice #927

Closed
svaningelgem opened this issue Jul 24, 2024 · 2 comments · Fixed by #876
Closed

FileTreeElement.getMode()-deprecation notice #927

svaningelgem opened this issue Jul 24, 2024 · 2 comments · Fixed by #876

Comments

@svaningelgem
Copy link

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
Copy link

bump

@Goooler
Copy link
Member

Goooler commented Jul 26, 2024

See #876.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants