Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-15667

Upgrade to Gradle 4.1 for clean JDK 9 build compatibility

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 5.0 RC4
    • Component/s: [Build]
    • Labels:
      None

      Description

      Gradle 4.1 (currently at M1) is the first Gradle generation to provide official JDK 9 support. Even if Gradle 3.5 and 4.0 work on JDK 9 build 175+ as well, we do want a warning-free experience there eventually.

        Issue Links

          Activity

          Hide
          snicoll St├ęphane Nicoll added a comment -

          We need to check first if our CI infra is/will be compatible with it in time for the release.

          Show
          snicoll St├ęphane Nicoll added a comment - We need to check first if our CI infra is/will be compatible with it in time for the release.
          Hide
          juergen.hoeller Juergen Hoeller added a comment -

          In addition to preparing for JDK 9 compatibility in Gradle 4.1, it of course also makes sense to be aligned with Boot 2.0 eventually: https://github.com/spring-projects/spring-boot/issues/9516

          Show
          juergen.hoeller Juergen Hoeller added a comment - In addition to preparing for JDK 9 compatibility in Gradle 4.1, it of course also makes sense to be aligned with Boot 2.0 eventually: https://github.com/spring-projects/spring-boot/issues/9516
          Hide
          juergen.hoeller Juergen Hoeller added a comment -

          Putting this into the 5.x backlog since Gradle 3.5 seems to work ok for us on the recent JDK 9 release candidate build (175). What we're really waiting for is Gradle 4.1 with official JDK 9 support, getting rid of the warnings in the log output.

          Show
          juergen.hoeller Juergen Hoeller added a comment - Putting this into the 5.x backlog since Gradle 3.5 seems to work ok for us on the recent JDK 9 release candidate build (175). What we're really waiting for is Gradle 4.1 with official JDK 9 support, getting rid of the warnings in the log output.
          Hide
          juergen.hoeller Juergen Hoeller added a comment -

          Gradle 4.1 RC1 is out now, making it very likely that it'll be GA in time for September.

          Seems to work fine for our purposes already, so let's plan an upgrade to it for our 5.0 RC4.

          Show
          juergen.hoeller Juergen Hoeller added a comment - Gradle 4.1 RC1 is out now, making it very likely that it'll be GA in time for September. Seems to work fine for our purposes already, so let's plan an upgrade to it for our 5.0 RC4.

            People

            • Assignee:
              juergen.hoeller Juergen Hoeller
              Reporter:
              juergen.hoeller Juergen Hoeller
              Last updater:
              Juergen Hoeller
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                17 weeks ago