File tree Expand file tree Collapse file tree 6 files changed +12
-6
lines changed Expand file tree Collapse file tree 6 files changed +12
-6
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 .1-bin.zip
44networkTimeout =10000
55zipStoreBase =GRADLE_USER_HOME
66zipStorePath =wrapper/dists
7- distributionSha256Sum =e111cb9948407e26351227dabce49822fb88c37ee72f1d1582a69c68af2e702f
7+ distributionSha256Sum =03ec176d388f2aa99defcadc3ac6adf8dd2bce5145a129659537c0874dea5ad1
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.
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 .1-bin.zip
44networkTimeout =10000
55zipStoreBase =GRADLE_USER_HOME
66zipStorePath =wrapper/dists
7- distributionSha256Sum =e111cb9948407e26351227dabce49822fb88c37ee72f1d1582a69c68af2e702f
7+ distributionSha256Sum =03ec176d388f2aa99defcadc3ac6adf8dd2bce5145a129659537c0874dea5ad1
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