Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • OpenJFX Gluon Maven samples are now registered in the New Project dialog (from 11.2).

Maven

  • Enabling Java preview features in a Maven project.
    <build>
       <plugins>
          <plugin>
              <artifactId>maven-compiler-plugin</artifactId>
              <version>3.8.0</version>
              <configuration>
                  <compilerArgs>
                        <arg>--enable-preview</arg>
                  </compilerArgs>
             </configuration>
         </plugin>
      </plugins>
    </build>

  • Default JDK for Maven projects.


    ccc

Gradle

  • Enabling Java preview features in a Gradke project.

    tasks.withType(JavaCompile).each {
        it.options.compilerArgs.add('--enable-preview')
    }
    
    run.jvmArgs(['--enable-preview'])
  • bbb

  • ccc

PHP

  • aaa

  • bbb

  • ccc