-
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 for Java 15 #1162
Comments
Hi all, I'm currently trying to transition to java 15 (from 14) but the groovy compiler plugin seems to have problems with java 15. This is my compiler config. <groovy.version>3.0.7</groovy.version>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<extensions>true</extensions>
<dependencies>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-eclipse-compiler</artifactId>
<version>3.6.0-03</version>
</dependency>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-eclipse-batch</artifactId>
<version>3.0.7-01</version>
</dependency>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy</artifactId>
<version>${groovy.version}</version>
<classifier>indy</classifier>
</dependency>
</dependencies>
<configuration>
<compilerId>groovy-eclipse-compiler</compilerId>
<compilerArguments>
<indy />
<configScript>${pom.basedir}/config.groovy</configScript>
</compilerArguments>
<failOnWarning>false</failOnWarning>
<showWarnings>false</showWarnings>
<verbose>false</verbose>
</configuration>
</plugin> I'm using the latest version of all dependencies. Still I get an error that only java up til 14 is supported. Any idea when the java 15 compiler will be supported? |
Eclipse 4.18 releases today and then the batch compiler needs to be built. You can build your own version of the batch compiler at any time using these steps: https://github.com/groovy/groovy-eclipse/wiki/Building-Maven-Batch-Compiler |
https://www.oracle.com/news/announcement/oracle-announces-java-15-091520.html
https://www.eclipse.org/eclipse/news/4.17/jdt.php#Java15
The text was updated successfully, but these errors were encountered: