...
- Enabling Java preview features in a Maven project – new task needed in a Maven-related test spec, after creating new Java Maven project, the following must be added and then check whether one or more preview features (see above) can be used in the Java editor.
<build> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.0</version> <configuration> <compilerArgs> <arg>--enable-preview</arg> </compilerArgs> </configuration> </plugin> </plugins> </build>
- Maven-based NetBeans modules can be created again, this was broken, make sure this works again correctly.
- Default JDK for Maven projects can be set.
Gradle
- Enabling Java preview features in a Gradle project – new task needed in a new Gradle-related test spec, after creating new Java Gradle project, the following must be added and then check whether one or more preview features (see above) can be used in the Java editor.
tasks.withType(JavaCompile).each { it.options.compilerArgs.add('--enable-preview') } run.jvmArgs(['--enable-preview'])
...