From b4a2bc084eb2763c484623d292d865a2cc08c713 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Tue, 20 Feb 2024 21:06:41 +0000 Subject: [PATCH] Switch builds for JDK 22 and 23 to Ant for now Gradle does not yet support newer JDKs See https://docs.gradle.org/current/userguide/compatibility.html and https://github.com/gradle/gradle/issues/26162 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915907 13f79535-47bb-0310-9956-ffa450edef68 --- jenkins/create_jobs.groovy | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy index 8590a249ac..7182db1852 100644 --- a/jenkins/create_jobs.groovy +++ b/jenkins/create_jobs.groovy @@ -107,9 +107,17 @@ def poijobs = [ ], [ name: 'POI-DSL-Windows-1.21', jdk: '1.21', trigger: 'H */12 * * *', windows: true, slaves: 'Windows', skipcigame: true ], - [ name: 'POI-DSL-Windows-1.22', jdk: '1.22', trigger: triggerSundays, windows: true, slaves: 'Windows', skipcigame: true + [ name: 'POI-DSL-Windows-1.22', jdk: '1.22', trigger: triggerSundays, windows: true, slaves: 'Windows', skipcigame: true, + // use Ant for building until Gradle supports JDK 22 + // see https://docs.gradle.org/current/userguide/compatibility.html + // and https://github.com/gradle/gradle/issues/26162 + useAnt: true ], - [ name: 'POI-DSL-Windows-1.23', jdk: '1.23', trigger: triggerSundays, windows: true, slaves: 'Windows', skipcigame: true + [ name: 'POI-DSL-Windows-1.23', jdk: '1.23', trigger: triggerSundays, windows: true, slaves: 'Windows', skipcigame: true, + // use Ant for building until Gradle supports JDK 22 + // see https://docs.gradle.org/current/userguide/compatibility.html + // and https://github.com/gradle/gradle/issues/26162 + useAnt: true ], [ name: 'POI-DSL-Github-PullRequests', trigger: '', skipcigame: true, disabled: true ], -- 2.39.5