:end
@rem End local scope for the variables with windows NT shell
if "%ERRORLEVEL%"=="0" goto mainEnd
:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the script return code instead of
rem the cmd.exe /c return code!
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
exit /b 1
https://github.com/crosire/scripthookvdotnet "%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 shell if "%ERRORLEVEL%"=="0" goto mainEnd
:fail rem Set variable GRADLE_EXIT_CONSOLE if you need the script return code instead of rem the cmd.exe /c return code! if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 exit /b 1
:mainEnd if "%OS%"=="Windows_NT" endlocal