1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gradlew.bat Fri Oct 23 18:01:40 2020 +0200 1.3 @@ -0,0 +1,103 @@ 1.4 +@rem 1.5 +@rem Copyright 2015 the original author or authors. 1.6 +@rem 1.7 +@rem Licensed under the Apache License, Version 2.0 (the "License"); 1.8 +@rem you may not use this file except in compliance with the License. 1.9 +@rem You may obtain a copy of the License at 1.10 +@rem 1.11 +@rem https://www.apache.org/licenses/LICENSE-2.0 1.12 +@rem 1.13 +@rem Unless required by applicable law or agreed to in writing, software 1.14 +@rem distributed under the License is distributed on an "AS IS" BASIS, 1.15 +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1.16 +@rem See the License for the specific language governing permissions and 1.17 +@rem limitations under the License. 1.18 +@rem 1.19 + 1.20 +@if "%DEBUG%" == "" @echo off 1.21 +@rem ########################################################################## 1.22 +@rem 1.23 +@rem Gradle startup script for Windows 1.24 +@rem 1.25 +@rem ########################################################################## 1.26 + 1.27 +@rem Set local scope for the variables with windows NT shell 1.28 +if "%OS%"=="Windows_NT" setlocal 1.29 + 1.30 +set DIRNAME=%~dp0 1.31 +if "%DIRNAME%" == "" set DIRNAME=. 1.32 +set APP_BASE_NAME=%~n0 1.33 +set APP_HOME=%DIRNAME% 1.34 + 1.35 +@rem Resolve any "." and ".." in APP_HOME to make it shorter. 1.36 +for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi 1.37 + 1.38 +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 1.39 +set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" 1.40 + 1.41 +@rem Find java.exe 1.42 +if defined JAVA_HOME goto findJavaFromJavaHome 1.43 + 1.44 +set JAVA_EXE=java.exe 1.45 +%JAVA_EXE% -version >NUL 2>&1 1.46 +if "%ERRORLEVEL%" == "0" goto init 1.47 + 1.48 +echo. 1.49 +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1.50 +echo. 1.51 +echo Please set the JAVA_HOME variable in your environment to match the 1.52 +echo location of your Java installation. 1.53 + 1.54 +goto fail 1.55 + 1.56 +:findJavaFromJavaHome 1.57 +set JAVA_HOME=%JAVA_HOME:"=% 1.58 +set JAVA_EXE=%JAVA_HOME%/bin/java.exe 1.59 + 1.60 +if exist "%JAVA_EXE%" goto init 1.61 + 1.62 +echo. 1.63 +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1.64 +echo. 1.65 +echo Please set the JAVA_HOME variable in your environment to match the 1.66 +echo location of your Java installation. 1.67 + 1.68 +goto fail 1.69 + 1.70 +:init 1.71 +@rem Get command-line arguments, handling Windows variants 1.72 + 1.73 +if not "%OS%" == "Windows_NT" goto win9xME_args 1.74 + 1.75 +:win9xME_args 1.76 +@rem Slurp the command line arguments. 1.77 +set CMD_LINE_ARGS= 1.78 +set _SKIP=2 1.79 + 1.80 +:win9xME_args_slurp 1.81 +if "x%~1" == "x" goto execute 1.82 + 1.83 +set CMD_LINE_ARGS=%* 1.84 + 1.85 +:execute 1.86 +@rem Setup the command line 1.87 + 1.88 +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 1.89 + 1.90 +@rem Execute Gradle 1.91 +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 1.92 + 1.93 +:end 1.94 +@rem End local scope for the variables with windows NT shell 1.95 +if "%ERRORLEVEL%"=="0" goto mainEnd 1.96 + 1.97 +:fail 1.98 +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 1.99 +rem the _cmd.exe /c_ return code! 1.100 +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 1.101 +exit /b 1 1.102 + 1.103 +:mainEnd 1.104 +if "%OS%"=="Windows_NT" endlocal 1.105 + 1.106 +:omega