Showing
4 changed files
with
4 additions
and
20 deletions
No preview for this file type
1 | -#Wed Oct 30 10:10:22 EET 2019 | ||
2 | distributionBase=GRADLE_USER_HOME | 1 | distributionBase=GRADLE_USER_HOME |
3 | distributionPath=wrapper/dists | 2 | distributionPath=wrapper/dists |
3 | +distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip | ||
4 | zipStoreBase=GRADLE_USER_HOME | 4 | zipStoreBase=GRADLE_USER_HOME |
5 | zipStorePath=wrapper/dists | 5 | zipStorePath=wrapper/dists |
6 | -distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip | ... | ... |
gradlew
100644 → 100755
This diff is collapsed. Click to expand it.
... | @@ -40,7 +40,7 @@ if defined JAVA_HOME goto findJavaFromJavaHome | ... | @@ -40,7 +40,7 @@ if defined JAVA_HOME goto findJavaFromJavaHome |
40 | 40 | ||
41 | set JAVA_EXE=java.exe | 41 | set JAVA_EXE=java.exe |
42 | %JAVA_EXE% -version >NUL 2>&1 | 42 | %JAVA_EXE% -version >NUL 2>&1 |
43 | -if "%ERRORLEVEL%" == "0" goto init | 43 | +if "%ERRORLEVEL%" == "0" goto execute |
44 | 44 | ||
45 | echo. | 45 | echo. |
46 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. | 46 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. |
... | @@ -54,7 +54,7 @@ goto fail | ... | @@ -54,7 +54,7 @@ goto fail |
54 | set JAVA_HOME=%JAVA_HOME:"=% | 54 | set JAVA_HOME=%JAVA_HOME:"=% |
55 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe | 55 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe |
56 | 56 | ||
57 | -if exist "%JAVA_EXE%" goto init | 57 | +if exist "%JAVA_EXE%" goto execute |
58 | 58 | ||
59 | echo. | 59 | echo. |
60 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% | 60 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% |
... | @@ -64,21 +64,6 @@ echo location of your Java installation. | ... | @@ -64,21 +64,6 @@ echo location of your Java installation. |
64 | 64 | ||
65 | goto fail | 65 | goto fail |
66 | 66 | ||
67 | -:init | ||
68 | -@rem Get command-line arguments, handling Windows variants | ||
69 | - | ||
70 | -if not "%OS%" == "Windows_NT" goto win9xME_args | ||
71 | - | ||
72 | -:win9xME_args | ||
73 | -@rem Slurp the command line arguments. | ||
74 | -set CMD_LINE_ARGS= | ||
75 | -set _SKIP=2 | ||
76 | - | ||
77 | -:win9xME_args_slurp | ||
78 | -if "x%~1" == "x" goto execute | ||
79 | - | ||
80 | -set CMD_LINE_ARGS=%* | ||
81 | - | ||
82 | :execute | 67 | :execute |
83 | @rem Setup the command line | 68 | @rem Setup the command line |
84 | 69 | ||
... | @@ -86,7 +71,7 @@ set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar | ... | @@ -86,7 +71,7 @@ set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar |
86 | 71 | ||
87 | 72 | ||
88 | @rem Execute Gradle | 73 | @rem Execute Gradle |
89 | -"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% | 74 | +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* |
90 | 75 | ||
91 | :end | 76 | :end |
92 | @rem End local scope for the variables with windows NT shell | 77 | @rem End local scope for the variables with windows NT shell | ... | ... |
-
Please register or login to post a comment