RFR: 8267472: JavaFX modules to include version information

Joeri Sykora sykora at openjdk.java.net
Mon Aug 23 13:02:33 UTC 2021


On Mon, 23 Aug 2021 10:48:23 GMT, Christian Stein <cstein at openjdk.org> wrote:

> https://bugs.openjdk.java.net/browse/JDK-8267472

Looks good to me. Only, since gradle 6.4 (see https://github.com/gradle/gradle/issues/2177), you can directly set the module version like this:

    project.compileJava {
        ...
        options.javaModuleVersion.set("$RELEASE_VERSION_SHORT")
    }

I'm not sure if this is more elegant? With Gradle 7, this option is also no longer incubating.

-------------

PR: https://git.openjdk.java.net/jfx/pull/608


More information about the openjfx-dev mailing list