-
Notifications
You must be signed in to change notification settings - Fork 402
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
Incompatibility with JDK 16 #658
Comments
Hi, this is fixed in #655 which will come with Shadow version 6.2.0 |
When it will be released? and is it possible to use the snapshot builds? if yes then how? |
I don't know the release date but you can clone the repository and build it yourself.
to the publishing block in gradle/publish.gradle and build with One more thing: I don't know why but it seems that Oracle has changed their API URL (javadoc task failing with javadoc: error - Error fetching URL: http://docs.oracle.com/javase/1.7.0/docs/api/). I could at least silence that error by changing the javaApiUrl in gradle/docs.gradle from http://docs.oracle.com/javase/1.7.0/docs/api to http://docs.oracle.com/javase/7/docs/api. You can apply the locally built plugin with:
|
And if you want to build the plugin with Gradle 7, you'll have to wait for #657 to be merged, apply that patch manually or clone from my master branch. |
Alternatively, you can use Gradle 6.8.3 with JDK 16 by configuring Java Toolchain. |
+1 |
@MaxM123 As an alternative to building locally, is it possible to use jitpack.io to install shadow snapshot from your master until 6.2.0 is released? |
Good idea. Worked for me by adding the following to settings.gradle:
and |
You could do us a big favor by releasing the fix for this issue, which blocks us from testing our project against JDK 16 on CI. jitpack.io is not an option for us (blocked). |
Please check the User Guide before submitting "how do I do 'x'?" questions!
Shadow Version
6.1.0
Gradle Version
7.0-rc-2
Expected Behavior
The task
shadowjar
working when using JDK 16 , works when using JDK 15Actual Behavior
It failes
The stacktrace: https://gist.github.com/tofikarz/0b3ae6e45316bbc825acb3d175677ed1
The text was updated successfully, but these errors were encountered: