Skip to content

Commit 8c5e45b

Browse files
committed
Build: update Gradle wrapper
1 parent c3109f3 commit 8c5e45b

File tree

6 files changed

+20
-19
lines changed

6 files changed

+20
-19
lines changed

.idea/dictionaries/fried.xml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ tasks {
136136
val data = readBytes()
137137
val hash = MessageDigest.getInstance("SHA-256").let { sha256 ->
138138
sha256.update(data)
139-
sha256.digest().joinToString("") { "%02x".format(it) }
139+
sha256.digest().joinToString("") { "%02X".format(it) }
140140
}
141141
println("Expected hash for $name = $expectedHash")
142142
println("Calculated hash for $name = $hash")

gradle/wrapper/gradle-wrapper.jar

-19.8 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\://services.gradle.org/distributions/gradle-8.3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -236,15 +236,15 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
236236
case $MAX_FD in #(
237237
max*)
238238
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
239-
# shellcheck disable=SC3045
239+
# shellcheck disable=SC2039,SC3045
240240
MAX_FD=$( ulimit -H -n ) ||
241241
warn "Could not query maximum file descriptor limit"
242242
esac
243243
case $MAX_FD in #(
244244
'' | soft) :;; #(
245245
*)
246246
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
247-
# shellcheck disable=SC3045
247+
# shellcheck disable=SC2039,SC3045
248248
ulimit -n "$MAX_FD" ||
249249
warn "Could not set maximum file descriptor limit to $MAX_FD"
250250
esac
@@ -293,11 +293,11 @@ fi
293293
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
294294
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
295295

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

302302
set -- \
303303
"-Dorg.gradle.appname=$APP_BASE_NAME" \

gradlew.bat

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,11 @@ set JAVA_EXE=java.exe
119119
%JAVA_EXE% -version >NUL 2>&1
120120
if %ERRORLEVEL% equ 0 goto execute
121121

122-
echo.
123-
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
124-
echo.
125-
echo Please set the JAVA_HOME variable in your environment to match the
126-
echo location of your Java installation.
122+
echo. 1>&2
123+
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
124+
echo. 1>&2
125+
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
126+
echo location of your Java installation. 1>&2
127127

128128
goto fail
129129

@@ -133,11 +133,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
133133

134134
if exist "%JAVA_EXE%" goto execute
135135

136-
echo.
137-
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
138-
echo.
139-
echo Please set the JAVA_HOME variable in your environment to match the
140-
echo location of your Java installation.
136+
echo. 1>&2
137+
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
138+
echo. 1>&2
139+
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
140+
echo location of your Java installation. 1>&2
141141

142142
goto fail
143143

0 commit comments

Comments
 (0)