Skip to content
This repository was archived by the owner on Feb 28, 2025. It is now read-only.

Commit 907062d

Browse files
Update dependency gradle to v6.9.4 (#34)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 3c9aa1a commit 907062d

File tree

4 files changed

+11
-25
lines changed

4 files changed

+11
-25
lines changed

gradle/wrapper/gradle-wrapper.jar

-2.32 KB
Binary file not shown.
+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.9-bin.zip
4-
networkTimeout=10000
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.9.4-bin.zip
54
zipStoreBase=GRADLE_USER_HOME
65
zipStorePath=wrapper/dists

gradlew

+4-14
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
# Darwin, MinGW, and NonStop.
5656
#
5757
# (3) This script is generated from the Groovy template
58-
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
58+
# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
5959
# within the Gradle project.
6060
#
6161
# You can find Gradle at https://github.com/gradle/gradle/.
@@ -80,11 +80,11 @@ do
8080
esac
8181
done
8282

83-
# This is normally unused
84-
# shellcheck disable=SC2034
85-
APP_BASE_NAME=${0##*/}
8683
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
8784

85+
APP_NAME="Gradle"
86+
APP_BASE_NAME=${0##*/}
87+
8888
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
8989
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
9090

@@ -143,16 +143,12 @@ fi
143143
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
144144
case $MAX_FD in #(
145145
max*)
146-
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
147-
# shellcheck disable=SC3045
148146
MAX_FD=$( ulimit -H -n ) ||
149147
warn "Could not query maximum file descriptor limit"
150148
esac
151149
case $MAX_FD in #(
152150
'' | soft) :;; #(
153151
*)
154-
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
155-
# shellcheck disable=SC3045
156152
ulimit -n "$MAX_FD" ||
157153
warn "Could not set maximum file descriptor limit to $MAX_FD"
158154
esac
@@ -209,12 +205,6 @@ set -- \
209205
org.gradle.wrapper.GradleWrapperMain \
210206
"$@"
211207

212-
# Stop when "xargs" is not available.
213-
if ! command -v xargs >/dev/null 2>&1
214-
then
215-
die "xargs is not available"
216-
fi
217-
218208
# Use "xargs" to parse quoted args.
219209
#
220210
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.

gradlew.bat

+6-9
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
@rem limitations under the License.
1515
@rem
1616

17-
@if "%DEBUG%"=="" @echo off
17+
@if "%DEBUG%" == "" @echo off
1818
@rem ##########################################################################
1919
@rem
2020
@rem Gradle startup script for Windows
@@ -25,8 +25,7 @@
2525
if "%OS%"=="Windows_NT" setlocal
2626

2727
set DIRNAME=%~dp0
28-
if "%DIRNAME%"=="" set DIRNAME=.
29-
@rem This is normally unused
28+
if "%DIRNAME%" == "" set DIRNAME=.
3029
set APP_BASE_NAME=%~n0
3130
set APP_HOME=%DIRNAME%
3231

@@ -41,7 +40,7 @@ if defined JAVA_HOME goto findJavaFromJavaHome
4140

4241
set JAVA_EXE=java.exe
4342
%JAVA_EXE% -version >NUL 2>&1
44-
if %ERRORLEVEL% equ 0 goto execute
43+
if "%ERRORLEVEL%" == "0" goto execute
4544

4645
echo.
4746
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
@@ -76,15 +75,13 @@ set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
7675

7776
:end
7877
@rem End local scope for the variables with windows NT shell
79-
if %ERRORLEVEL% equ 0 goto mainEnd
78+
if "%ERRORLEVEL%"=="0" goto mainEnd
8079

8180
:fail
8281
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
8382
rem the _cmd.exe /c_ return code!
84-
set EXIT_CODE=%ERRORLEVEL%
85-
if %EXIT_CODE% equ 0 set EXIT_CODE=1
86-
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
87-
exit /b %EXIT_CODE%
83+
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
84+
exit /b 1
8885

8986
:mainEnd
9087
if "%OS%"=="Windows_NT" endlocal

0 commit comments

Comments
 (0)