Skip to content

Commit

Permalink
Upgrade release tool gradle to run on jdk-21
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Leonard <anleonar@redhat.com>
  • Loading branch information
andrew-m-leonard committed Feb 12, 2024
1 parent b642b34 commit 33538c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions adopt-github-release/gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@ APP_ARGS=$(save "$@")

# Specify the required gradle daemon JVM heap settings
GRADLE_OPTS="-Dorg.gradle.jvmargs=-Xmx1g ${GRADLE_OPTS}"
export GRADLE_OPTS
echo "GRADLE_OPTS=${GRADLE_OPTS}"

# Collect all arguments for the java command, following the shell quoting and substitution rules
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
Expand Down

0 comments on commit 33538c0

Please sign in to comment.