File tree 3 files changed +6
-2
lines changed
3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =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
4
4
networkTimeout =10000
5
+ validateDistributionUrl =true
5
6
zipStoreBase =GRADLE_USER_HOME
6
7
zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change @@ -130,10 +130,13 @@ location of your Java installation."
130
130
fi
131
131
else
132
132
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.
134
136
135
137
Please set the JAVA_HOME variable in your environment to match the
136
138
location of your Java installation."
139
+ fi
137
140
fi
138
141
139
142
# Increase the maximum file descriptors if we can.
You can’t perform that action at this time.
0 commit comments