-
Notifications
You must be signed in to change notification settings - Fork 193
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
Add support of JDK17 for groovy-eclipse-compiler #1314
Comments
#1303 is still open. As soon as Eclipse 4.22 (2021-12) releases, the batch compiler can be built with support for Java 17. If you need this today, you can pull down the project and build the batch compiler following these steps: https://github.com/groovy/groovy-eclipse/wiki/Building-Maven-Batch-Compiler I have artifacts that support up to Java 16, but the loss of bintray has set me back in terms of publication. |
Eclipse 4.22 (2021-12) support has been finalized. You can build a batch compiler against this target for Java 17 joint compilation. Groovy 2.5 and Groovy 3 only support up to Java 15. Groovy 4 is at Release Candidate 1 and supports Java 17 (and 18). |
The batch compiler version 3.0.9-03 will run properly under JDK17 and will accept a target release of 17. This artifact is not signed and is not deployed to Maven Central, so there is an extra plugins repository required in you pom: https://github.com/groovy/groovy-eclipse/wiki/Groovy-Eclipse-Maven-plugin#how-to-use-the-compiler-plugin---setting-up-the-pom |
This is great news. Thank you @eric-milles |
@eric-milles when the artifcat would be available in Maven repo? |
I'm trying to use the groovy-eclipse-compiler 3.7.0 maven plugin along with JDK17. But it fails with error:
Am I missing something? Is there any plan on supporting JDK17?
pom file:
The text was updated successfully, but these errors were encountered: