[ 
https://issues.apache.org/jira/browse/OFBIZ-12729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17651803#comment-17651803
 ] 

Jacques Le Roux edited comment on OFBIZ-12729 at 1/3/23 8:36 AM:
-----------------------------------------------------------------

For Gradle, as explained in OFBIZ-12400, devs locally can use: {{./gradlew 
wrapper --gradle-version=7.6 --distribution-type=bin}}


At OFBIZ-12400 I have attached 
[OFBIZ-12400-windows.patch|https://issues.apache.org/jira/secure/attachment/13053487/OFBIZ-12400-windows.patch].
 It will allow Windows users to use init-gradle-wrapper batch to get Gradle 7.6 
in released versions using JDK 17. The *.nix version remains to be done.


was (Author: jacques.le.roux):
For Gradle, as explained in OFBIZ-12400, devs locally can use: {{./gradlew 
wrapper --gradle-version=7.6 --distribution-type=bin}}


At OFBIZ-12400 I have attached [^OFBIZ-12400-windows.patch] that will allow 
Windows users to use init-gradle-wrapper batch to get Gradle 7.6 in released 
versions using JDK 17. The *.nix version remains to be done.

> Use JDK 17 in GitHub Action and BuildBot (ie OFBiz CI) and demos
> ----------------------------------------------------------------
>
>                 Key: OFBIZ-12729
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12729
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: BuildBot, Demo, GitHub
>    Affects Versions: 22.01.01, Upcoming Branch
>         Environment: GitHub Action and BuildBot (ie OFBiz CI) and demos
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Major
>         Attachments: Buildbot ofbiz.py.patch, GH action gradle.yaml.patch, 
> JDK 17.patch
>
>
> After [several discussions on dev 
> ML|https://lists.apache.org/list?d...@ofbiz.apache.org:lte=3y:jdk%2017], 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:]
> {quote}*** LTS/non-LTS designation and dates are subject to change.
> {quote}
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to