File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-8.0 -bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.2.1 -bin.zip
44networkTimeout =10000
5+ validateDistributionUrl =true
56zipStoreBase =GRADLE_USER_HOME
67zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change 8585APP_BASE_NAME=${0##*/ }
8686APP_HOME=$( cd " ${APP_HOME:- ./ } " && pwd -P ) || exit
8787
88- # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
89- DEFAULT_JVM_OPTS=' "-Xmx64m" "-Xms64m"'
90-
9188# Use the maximum available, or set MAX_FD != -1 to use that value.
9289MAX_FD=maximum
9390
@@ -133,10 +130,13 @@ location of your Java installation."
133130 fi
134131else
135132 JAVACMD=java
136- which java > /dev/null 2>&1 || die " ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
133+ if ! command -v java > /dev/null 2>&1
134+ then
135+ die " ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
137136
138137Please set the JAVA_HOME variable in your environment to match the
139138location of your Java installation."
139+ fi
140140fi
141141
142142# Increase the maximum file descriptors if we can.
@@ -197,6 +197,10 @@ if "$cygwin" || "$msys" ; then
197197 done
198198fi
199199
200+
201+ # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
202+ DEFAULT_JVM_OPTS=' "-Xmx64m" "-Xms64m"'
203+
200204# Collect all arguments for the java command;
201205# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
202206# shell script including quotes and variable substitutions, so put them in
You can’t perform that action at this time.
0 commit comments