JDK 21 fails in buildpack

This commit is contained in:
Corneil du Plessis
2024-04-03 17:09:17 +02:00
parent 939e760e42
commit 5469ad8a9a
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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