@if"%DEBUG%"==""@echo off
@rem ##########################################################################@rem@rem Gradle startup script for Windows@rem@rem ##########################################################################@rem Set local scope for the variables with windows NT shellif"%OS%"=="Windows_NT"setlocal@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.setDEFAULT_JVM_OPTS=setDIRNAME=%~dp0if"%DIRNAME%"==""setDIRNAME=.
setAPP_BASE_NAME=%~n0setAPP_HOME=%DIRNAME%@rem Find java.exeifdefinedJAVA_HOMEgotofindJavaFromJavaHomesetJAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1if"%ERRORLEVEL%"=="0"gotoinitecho.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
gotofail:findJavaFromJavaHomesetJAVA_HOME=%JAVA_HOME:"=%setJAVA_EXE=%JAVA_HOME%/bin/java.exe
ifexist"%JAVA_EXE%"gotoinitecho.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
gotofail:init@rem Get command-line arguments, handling Windowz variantsifnot"%OS%"=="Windows_NT"gotowin9xME_argsif"%@eval[2+2]"=="4"goto4NT_args:win9xME_args@rem Slurp the command line arguments.setCMD_LINE_ARGS=set_SKIP=2
:win9xME_args_slurpif"x%~1"=="x"gotoexecutesetCMD_LINE_ARGS=%*gotoexecute:4NT_args@rem Get arguments from the 4NT Shell from JP SoftwaresetCMD_LINE_ARGS=%$
:execute@rem Setup the command linesetCLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
@rem Execute Gradle"%JAVA_EXE%"%DEFAULT_JVM_OPTS%%JAVA_OPTS%%GRADLE_OPTS%"-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%:end@rem End local scope for the variables with windows NT shellif"%ERRORLEVEL%"=="0"gotomainEnd:failrem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead ofrem the _cmd.exe /c_ return code!ifnot""=="%GRADLE_EXIT_CONSOLE%"exit 1
exit /b 1
:mainEndif"%OS%"=="Windows_NT"endlocal:omega