File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
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.1.1 -bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.2 -bin.zip
44networkTimeout =10000
5+ validateDistributionUrl =true
56zipStoreBase =GRADLE_USER_HOME
67zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change @@ -130,10 +130,13 @@ location of your Java installation."
130130 fi
131131else
132132 JAVACMD=java
133- 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.
134136
135137Please set the JAVA_HOME variable in your environment to match the
136138location of your Java installation."
139+ fi
137140fi
138141
139142# Increase the maximum file descriptors if we can.
You can’t perform that action at this time.
0 commit comments