summaryrefslogtreecommitdiff
path: root/gradlew
diff options
context:
space:
mode:
authorGradle Update Workflow <gradle-updater@users.noreply.github.com>2023-04-13 05:10:23 +0000
committerJoffrey Bion <joffrey.bion@gmail.com>2023-04-13 07:23:29 +0200
commitc9c36408009a2c6a753005944b6f3ea36217c4bb (patch)
treebc88d7c9a23a68a04ca4b939289f5929052cc6db /gradlew
parentMigrate to new Kotlin/React API and Emotion styles (diff)
downloadseven-wonders-c9c36408009a2c6a753005944b6f3ea36217c4bb.tar.gz
seven-wonders-c9c36408009a2c6a753005944b6f3ea36217c4bb.tar.bz2
seven-wonders-c9c36408009a2c6a753005944b6f3ea36217c4bb.zip
Upgrade Gradle Wrapper to 8.1
Diffstat (limited to 'gradlew')
-rwxr-xr-xgradlew11
1 files changed, 6 insertions, 5 deletions
diff --git a/gradlew b/gradlew
index 65dcd68d..aeb74cbb 100755
--- a/gradlew
+++ b/gradlew
@@ -85,9 +85,6 @@ done
APP_BASE_NAME=${0##*/}
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
-# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
-DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
-
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
@@ -144,7 +141,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
case $MAX_FD in #(
max*)
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
- # shellcheck disable=SC3045
+ # shellcheck disable=SC3045
MAX_FD=$( ulimit -H -n ) ||
warn "Could not query maximum file descriptor limit"
esac
@@ -152,7 +149,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
'' | soft) :;; #(
*)
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
- # shellcheck disable=SC3045
+ # shellcheck disable=SC3045
ulimit -n "$MAX_FD" ||
warn "Could not set maximum file descriptor limit to $MAX_FD"
esac
@@ -197,6 +194,10 @@ if "$cygwin" || "$msys" ; then
done
fi
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
+
# Collect all arguments for the java command;
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
# shell script including quotes and variable substitutions, so put them in
bgstack15