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

Multi-release jackson-core 2.15.2.jar not working with gradle 4.10.4 & shadow plugin version 4.0.4 #878

Open
Princee7 opened this issue Aug 4, 2023 · 1 comment

Comments

@Princee7
Copy link

Princee7 commented Aug 4, 2023

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

Shadow Version 4.0.4

Gradle Version 4.10.4

Expected Behavior

Should add jackson-core-2.15.2.jar which is multi release inside output.jar while compiling with jdk8

Actual Behavior

Falling compilation with unsupported class file major version 61

Gradle Build Script(s)

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

Tried adding attributes ''Multi-release': 'true' inside manifest{} of shadow task

@DreierF
Copy link

DreierF commented Sep 3, 2023

Sounds like your issue could be easily solved by updating the shadow plugin to the latest version (8.1.1 at the time of writing), which also requires to update Gradle.

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

No branches or pull requests

2 participants