From 5469ad8a9a52f86cc3cfae318cf1d6e5e77dc9ac Mon Sep 17 00:00:00 2001 From: Corneil du Plessis Date: Wed, 3 Apr 2024 17:09:17 +0200 Subject: [PATCH] JDK 21 fails in buildpack --- build-app.sh | 2 +- publish-app.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build-app.sh b/build-app.sh index 571cbfce..152c5747 100755 --- a/build-app.sh +++ b/build-app.sh @@ -45,7 +45,7 @@ pushd "$PROJECT_FOLDER" >/dev/null check_env ARTIFACTORY_PASSWORD fi if [[ "$VERSION" != "3."* ]]; then - JDKS="17 21" + JDKS="17" if [ "$DEFAULT_JDK" == "" ]; then DEFAULT_JDK=17 fi diff --git a/publish-app.sh b/publish-app.sh index e3295363..f29a77f3 100755 --- a/publish-app.sh +++ b/publish-app.sh @@ -29,7 +29,7 @@ pushd "$PROJECT_FOLDER" > /dev/null fi echo "Project Version:$VERSION" if [[ "$VERSION" != "3."* ]]; then - JDKS="17 21" + JDKS="17" if [ "$DEFAULT_JDK" == "" ];then DEFAULT_JDK="17" fi