This is an automated email from the ASF dual-hosted git repository. jleroux pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push: new 41d7dd7932 Improved: Upgrade to gradle 7.6 - support JDK 11 -> 17 (OFBIZ-12400) 41d7dd7932 is described below commit 41d7dd79323af3ab5fccb44c48843c2a450d66c7 Author: Jacques Le Roux <jacques.le.r...@les7arts.com> AuthorDate: Thu Jan 12 17:52:42 2023 +0100 Improved: Upgrade to gradle 7.6 - support JDK 11 -> 17 (OFBIZ-12400) Removes useless reference to // jrubyVersion = '9.2.19.0' Upgrade references from JDK 11 to JDK 17 --- build.gradle | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index 9ab02a148f..d1ec7c9226 100644 --- a/build.gradle +++ b/build.gradle @@ -94,10 +94,6 @@ distributions.main.contents.from(rootDir) { include 'framework/**', 'applications/**', 'themes/**', 'plugins/**' } -asciidoctorj { -// jrubyVersion = '9.2.19.0' -} - javadoc { title='OFBiz trunk API' failOnError = true @@ -108,7 +104,7 @@ javadoc { // Those external Javadoc links should correspond to the actual // versions declared in the 'dependencies' block. links( - 'https://docs.oracle.com/javase/11/docs/api', + 'https://docs.oracle.com/javase/17/docs/api', 'https://tomcat.apache.org/tomcat-9.0-doc/servletapi/', 'http://docs.groovy-lang.org/docs/groovy-3.0.13/html/api', 'https://commons.apache.org/proper/commons-cli/apidocs' @@ -130,8 +126,8 @@ node { } java { - sourceCompatibility(JavaVersion.VERSION_11) - targetCompatibility(JavaVersion.VERSION_11) + sourceCompatibility(JavaVersion.VERSION_17) + targetCompatibility(JavaVersion.VERSION_17) } // Java compile options, syntax gradlew -PXlint:none build