Using gradle mit JDK-13

Kevin Rushforth kevin.rushforth at oracle.com
Fri Oct 18 14:43:19 UTC 2019


Yes, it says that it's due today, but it originally said it was due last 
week, and they've been slipping it day for day.

I did a fair bit of testing with a recent gradle 6.0 nightly build while 
working on https://bugs.openjdk.java.net/browse/JDK-8226754 so I don't 
anticipate any problems.

-- Kevin


On 10/18/2019 6:23 AM, Nir Lisker wrote:
> By the way, Gradle 6.0 RC1 is due today. It could be beneficial to 
> test the build with it prior to the release of 6.0.
>
> On Fri, Oct 18, 2019 at 4:16 PM Nir Lisker <nlisker at gmail.com 
> <mailto:nlisker at gmail.com>> wrote:
>
>         By way of information, the current toolchain versions used by
>         the JavaFX
>         build are recorded in build.properties [4].
>
>     I referenced this file for the minimum and current Gradle versions
>     in the Gradle section of the build instructions [1] to avoid
>     needing to update the wiki page manually every time the version
>     changes.
>
>     I now corrected the page to say that Java 13 support is pending
>     Gradle 6. Thanks Robert.
>
>     - Nir
>
>     [1]
>     https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX#BuildingOpenJFX-Gradle
>
>     On Fri, Oct 18, 2019 at 3:57 PM Kevin Rushforth
>     <kevin.rushforth at oracle.com <mailto:kevin.rushforth at oracle.com>>
>     wrote:
>
>         Correct. will need to upgrade to gradle 6 to support building
>         with JDK
>         13. See JDK-8232063 [1] and JDK-8232064 [2]. The gradle team
>         indicates
>         that they plan to ship gradle 6 on November 1 [3].
>
>         By way of information, the current toolchain versions used by
>         the JavaFX
>         build are recorded in build.properties [4].
>
>         -- Kevin
>
>         [1] https://bugs.openjdk.java.net/browse/JDK-8232063
>         [2] https://bugs.openjdk.java.net/browse/JDK-8232064
>         [3] https://github.com/gradle/gradle/milestones
>         [4]
>         https://github.com/openjdk/jfx/blob/master/build.properties#L75
>
>
>         On 10/18/2019 4:56 AM, Nir Lisker wrote:
>         > Sorry, that was my mistake when I updated that page for
>         Skara. We usually
>         > list JDK N and N-1 as compatible for JFX N and I missed that
>         Gradle is not
>         > there yet for 13.
>         > Use JDK 12 for now.
>         >
>         > - Nir
>         >
>         > On Fri, Oct 18, 2019, 09:02 Robert Lichtenberger
>         <r.lichtenberger at gmail.com <mailto:r.lichtenberger at gmail.com>>
>         > wrote:
>         >
>         >> In trying to provide a fix for JDK-8232524 I have begun to
>         setup a build
>         >> for JavaFX.
>         >>
>         >> According to [1] using JDK-13 is recommended. However,
>         gradle is not yet
>         >> ready to run on JDK-13 ([2]):
>         >>
>         >> [rli at rlinux jfx]$ ./gradlew clean
>         >>
>         >> FAILURE: Build failed with an exception.
>         >>
>         >> * Where:
>         >>
>         >> Build file '/home/rli/PWEs/jfx/buildSrc/build.gradle'
>         >>
>         >> * What went wrong:
>         >>
>         >> Could not compile build file
>         '/home/rli/PWEs/jfx/buildSrc/build.gradle'.
>         >>
>         >>> startup failed:
>         >>    General error during semantic analysis: Unsupported
>         class file major
>         >> version 57
>         >>
>         >> I'll now continue on JDK-12 (just like I have to in my day
>         job) but is
>         >> there any general advice on how to proceed with JDK-13?
>         >>
>         >> Best regards,
>         >>
>         >> Robert
>         >>
>         >>
>         >> [1]
>         >>
>         https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX#BuildingOpenJFX-LinuxDesktopBuildLinux
>         >>
>         >> [2] https://github.com/gradle/gradle/issues/8681
>         >>
>         >>
>



More information about the openjfx-dev mailing list