-
Notifications
You must be signed in to change notification settings - Fork 5
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
Support Java > 15 and Datanucleus 6 #435
Comments
Thanks for reporting this. Interested in opening up a PR for this? |
To be honest, I have a running version of your plugin with Datanucleus 6, Java 17 and gradle 8.1.1 on Windows. |
The plugin is still being built with Java 8, in CI. |
Datanucleus 6 needs Java version 11 at least |
What version Datanucleus needs is not a requirement for Gradle/plugin, in any case just saying the minimum version the plugin is currently targeting (I don't mind the bump, already using newer Java versions than 8). |
If I revert the java.toolchain.languageVersion to 8 I get
So I think we do need Java 11 to support Datanucleus 6. |
That assumes the plugin would not be updated to allow to specify a toolchain for Datanucleus tasks. |
Do you talk about an additional toolchain for Datanucleus tasks? Every project using Datanucleus 6 will need Java 11 at least. |
I have created PR #521 |
It would be nice if datanucleus-gradle-plugin could support higher Java versions than 15.
If I try to build my project for Datanucleus 6.0.3 and Java 17 I get strange ASM errors.
Perhaps this is related to
//Forcing toolchain use to 15. Newer JDK versions cause ASMEnhancer to fail for some obscure reason languageVersion = JavaLanguageVersion.of(8)
in build.gradle.
Perhaps is solved with ASM 9.4 used by Datanucleus 6.0.3?
The text was updated successfully, but these errors were encountered: