]> source.dussan.org Git - poi.git/commitdiff
Switch builds for JDK 22 and 23 to Ant for now
authorDominik Stadler <centic@apache.org>
Thu, 1 Feb 2024 06:38:54 +0000 (06:38 +0000)
committerDominik Stadler <centic@apache.org>
Thu, 1 Feb 2024 06:38:54 +0000 (06:38 +0000)
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@1915505 13f79535-47bb-0310-9956-ffa450edef68

jenkins/create_jobs.groovy

index d094e4ddeefe5e10b82df78b61b2dfb740c91419..8590a249ac3b91e111651f9a7844b572f97b488d 100644 (file)
@@ -45,10 +45,18 @@ def poijobs = [
         [ name: 'POI-DSL-1.21', jdk: '1.21', trigger: 'H */12 * * *', skipcigame: true, skipSpotbugs: true
         ],
         // Jenkins on ci-builds.apache.org does not support spotbugs with a new enough version of asm for Java18+
-        [ name: 'POI-DSL-1.22', jdk: '1.22', trigger: triggerSundays, skipcigame: true, skipSpotbugs: true
+        [ name: 'POI-DSL-1.22', jdk: '1.22', trigger: triggerSundays, skipcigame: true, skipSpotbugs: 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
         ],
         // Jenkins on ci-builds.apache.org does not support spotbugs with a new enough version of asm for Java18+
-        [ name: 'POI-DSL-1.23', jdk: '1.23', trigger: triggerSundays, skipcigame: true, skipSpotbugs: true
+        [ name: 'POI-DSL-1.23', jdk: '1.23', trigger: triggerSundays, skipcigame: true, skipSpotbugs: true,
+          // use Ant for building until Gradle supports JDK 23
+          // see https://docs.gradle.org/current/userguide/compatibility.html
+          // and https://github.com/gradle/gradle/issues/26162
+          useAnt: true
         ],
         // Use Ant-build for now as selecting IBM JDK via toolchain does not work (yet)
         [ name: 'POI-DSL-IBM-JDK', jdk: 'IBMJDK', trigger: triggerSundays, skipcigame: true, useAnt: true