diff --git a/build-app.sh b/build-app.sh index 152c5747..571cbfce 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" + JDKS="17 21" if [ "$DEFAULT_JDK" == "" ]; then DEFAULT_JDK=17 fi diff --git a/publish-app.sh b/publish-app.sh index f29a77f3..e3295363 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" + JDKS="17 21" if [ "$DEFAULT_JDK" == "" ];then DEFAULT_JDK="17" fi