Skip to content

Commit a56c7e5

Browse files
committed
Use gradleVersion=8.2.1 for building as plugin fails when run on 7.x
1 parent f9a3dd1 commit a56c7e5

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

gradle/wrapper/gradle-wrapper.jar

19.4 KB
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://cache-redirector.jetbrains.com/services.gradle.org/distributions/gradle-8.5-all.zip
3+
distributionUrl=https\://cache-redirector.jetbrains.com/services.gradle.org/distributions/gradle-8.2.1-all.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ done
8383
# This is normally unused
8484
# shellcheck disable=SC2034
8585
APP_BASE_NAME=${0##*/}
86-
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
87-
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
86+
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
8887

8988
# Use the maximum available, or set MAX_FD != -1 to use that value.
9089
MAX_FD=maximum
@@ -145,15 +144,15 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
145144
case $MAX_FD in #(
146145
max*)
147146
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
148-
# shellcheck disable=SC2039,SC3045
147+
# shellcheck disable=SC3045
149148
MAX_FD=$( ulimit -H -n ) ||
150149
warn "Could not query maximum file descriptor limit"
151150
esac
152151
case $MAX_FD in #(
153152
'' | soft) :;; #(
154153
*)
155154
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
156-
# shellcheck disable=SC2039,SC3045
155+
# shellcheck disable=SC3045
157156
ulimit -n "$MAX_FD" ||
158157
warn "Could not set maximum file descriptor limit to $MAX_FD"
159158
esac
@@ -202,11 +201,11 @@ fi
202201
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
203202
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
204203

205-
# Collect all arguments for the java command:
206-
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
207-
# and any embedded shellness will be escaped.
208-
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
209-
# treated as '${Hostname}' itself on the command line.
204+
# Collect all arguments for the java command;
205+
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
206+
# shell script including quotes and variable substitutions, so put them in
207+
# double quotes to make sure that they get re-expanded; and
208+
# * put everything else in single quotes, so that it's not re-expanded.
210209

211210
set -- \
212211
"-Dorg.gradle.appname=$APP_BASE_NAME" \

0 commit comments

Comments
 (0)