Configure JDK 22 compatibility build on CI

This commit does not enable this build right now as testing libraries
are not ready yet for JDK 22.

See gh-31459
This commit is contained in:
Brian Clozel
2023-10-19 13:59:13 +02:00
parent c6b86af78b
commit c73c16f07f
6 changed files with 46 additions and 3 deletions

View File

@@ -5,6 +5,6 @@ source $(dirname $0)/common.sh
repository=$(pwd)/distribution-repository
pushd git-repo > /dev/null
./gradlew -Dorg.gradle.internal.launcher.welcomeMessageEnabled=false -Porg.gradle.java.installations.fromEnv=JDK17,JDK21 \
./gradlew -Dorg.gradle.internal.launcher.welcomeMessageEnabled=false -Porg.gradle.java.installations.fromEnv=JDK17,JDK21,JDK22 \
--no-daemon --max-workers=4 -PdeploymentRepository=${repository} build publishAllPublicationsToDeploymentRepository
popd > /dev/null