Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-12400 Upgrade to gradle 7.6 - support JDK 11 -> 17
  3. OFBIZ-12729

Use JDK 17 in GitHub Action, BuildBot (ie OFBiz CI) and demos

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Implemented
    • Upcoming Branch, 22.01.01
    • 22.01.01
    • BuildBot, Demo, GitHub
    • None
    • GitHub Action and BuildBot (ie OFBiz CI) and demos

    Description

      After several discussions on dev ML, we decided to use JDK 17 in our CI in place of JDK 11. JDK 11 is no longer freely supported in 2023. JDK 17 is a LTS version freely supported until 2026.  Another one is JDK 21 supported until 2028. For JDK 21, it's specifed at https://www.oracle.com/java/technologies/java-se-support-roadmap.html:

          • LTS/non-LTS designation and dates are subject to change.

      Using JDK 17 implies to use a Gradle version supporting it. The last one is currently 7.6.

      For demos this has also another implication. As we no longer support the 18.12 branch and it's still the current stable, we need to create a 23.01 branch to be the next demo, having the 22.01 branch being the new stable with all branches using JDK 17.

      It's better to do all that (CI and demos) in one well prepared step in order to avoid confusion and duplicate efforts.

      Attachments

        1. Buildbot ofbiz.py-1.patch
          3 kB
          Jacques Le Roux
        2. GH action gradle.yaml.patch
          1 kB
          Jacques Le Roux
        3. GH action gradle.yaml 22.01.patch
          1 kB
          Jacques Le Roux
        4. JDK 17.patch
          1 kB
          Jacques Le Roux

        Issue Links

          Activity

            People

              jleroux Jacques Le Roux
              jleroux Jacques Le Roux
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: