Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 384e021

Browse files
committed
Revert "[Java] Upgrade to Gradle 8.2.1."
This reverts commit 7503aed.
1 parent 9f0c43a commit 384e021

File tree

4 files changed

+3
-7
lines changed

4 files changed

+3
-7
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@ tasks.named('dependencyUpdates').configure {
841841
}
842842

843843
wrapper {
844-
gradleVersion = '8.2.1'
844+
gradleVersion = '8.1.1'
845845
distributionType = 'ALL'
846846
}
847847

gradle/wrapper/gradle-wrapper.jar

-1.27 KB
Binary file not shown.
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-all.zip
44
networkTimeout=10000
5-
validateDistributionUrl=true
65
zipStoreBase=GRADLE_USER_HOME
76
zipStorePath=wrapper/dists

gradlew

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,13 +130,10 @@ location of your Java installation."
130130
fi
131131
else
132132
JAVACMD=java
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.
133+
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
136134
137135
Please set the JAVA_HOME variable in your environment to match the
138136
location of your Java installation."
139-
fi
140137
fi
141138

142139
# Increase the maximum file descriptors if we can.

0 commit comments

Comments
 (0)