Skip to content

Commit e599fec

Browse files
committed
Make JDK21 available as toolchain in main build
See gh-30339 See gh-30241
1 parent 657fe1f commit e599fec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ci/scripts/build-project.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ source $(dirname $0)/common.sh
55
repository=$(pwd)/distribution-repository
66

77
pushd git-repo > /dev/null
8-
./gradlew -Dorg.gradle.internal.launcher.welcomeMessageEnabled=false --no-daemon --max-workers=4 -PdeploymentRepository=${repository} build publishAllPublicationsToDeploymentRepository
8+
./gradlew -Dorg.gradle.internal.launcher.welcomeMessageEnabled=false -Porg.gradle.java.installations.fromEnv=JDK17,JDK21 \
9+
--no-daemon --max-workers=4 -PdeploymentRepository=${repository} build publishAllPublicationsToDeploymentRepository
910
popd > /dev/null

0 commit comments

Comments
 (0)