Mercurial > public > gradleplugins
comparison gradlew.bat @ 32:927f02ccc596 version-0.4.6
Update to Gradle 7.4.2
author | Kyle Miller <kyle.miller@mcoecn.org> |
---|---|
date | Fri, 05 Aug 2022 19:22:06 +0100 |
parents | c51874d4a5a7 |
children |
comparison
equal
deleted
inserted
replaced
31:bd084c7d01df | 32:927f02ccc596 |
---|---|
6 @rem ########################################################################## | 6 @rem ########################################################################## |
7 | 7 |
8 @rem Set local scope for the variables with windows NT shell | 8 @rem Set local scope for the variables with windows NT shell |
9 if "%OS%"=="Windows_NT" setlocal | 9 if "%OS%"=="Windows_NT" setlocal |
10 | 10 |
11 @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. | |
12 set DEFAULT_JVM_OPTS= | |
13 | |
14 set DIRNAME=%~dp0 | 11 set DIRNAME=%~dp0 |
15 if "%DIRNAME%" == "" set DIRNAME=. | 12 if "%DIRNAME%" == "" set DIRNAME=. |
16 set APP_BASE_NAME=%~n0 | 13 set APP_BASE_NAME=%~n0 |
17 set APP_HOME=%DIRNAME% | 14 set APP_HOME=%DIRNAME% |
15 | |
16 @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. | |
17 set DEFAULT_JVM_OPTS="-Xmx64m" | |
18 | 18 |
19 @rem Find java.exe | 19 @rem Find java.exe |
20 if defined JAVA_HOME goto findJavaFromJavaHome | 20 if defined JAVA_HOME goto findJavaFromJavaHome |
21 | 21 |
22 set JAVA_EXE=java.exe | 22 set JAVA_EXE=java.exe |
44 echo location of your Java installation. | 44 echo location of your Java installation. |
45 | 45 |
46 goto fail | 46 goto fail |
47 | 47 |
48 :init | 48 :init |
49 @rem Get command-line arguments, handling Windowz variants | 49 @rem Get command-line arguments, handling Windows variants |
50 | 50 |
51 if not "%OS%" == "Windows_NT" goto win9xME_args | 51 if not "%OS%" == "Windows_NT" goto win9xME_args |
52 if "%@eval[2+2]" == "4" goto 4NT_args | |
53 | 52 |
54 :win9xME_args | 53 :win9xME_args |
55 @rem Slurp the command line arguments. | 54 @rem Slurp the command line arguments. |
56 set CMD_LINE_ARGS= | 55 set CMD_LINE_ARGS= |
57 set _SKIP=2 | 56 set _SKIP=2 |
58 | 57 |
59 :win9xME_args_slurp | 58 :win9xME_args_slurp |
60 if "x%~1" == "x" goto execute | 59 if "x%~1" == "x" goto execute |
61 | 60 |
62 set CMD_LINE_ARGS=%* | 61 set CMD_LINE_ARGS=%* |
63 goto execute | |
64 | |
65 :4NT_args | |
66 @rem Get arguments from the 4NT Shell from JP Software | |
67 set CMD_LINE_ARGS=%$ | |
68 | 62 |
69 :execute | 63 :execute |
70 @rem Setup the command line | 64 @rem Setup the command line |
71 | 65 |
72 set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar | 66 set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar |