yarn/gradlew.bat

101 lines
2.8 KiB
Batchfile
Raw Normal View History

@rem
@rem Copyright 2015 the original author or authors.
@rem
@rem Licensed under the Apache License, Version 2.0 (the "License");
@rem you may not use this file except in compliance with the License.
@rem You may obtain a copy of the License at
@rem
Backport of latest 1.15.2 mappings back to 1.14.4. (#1094) Co-authored-by: Chloe Dawn <chloealexisdawn@outlook.com> Co-authored-by: Chocohead <Chocohead@users.noreply.github.com> Co-authored-by: Cloak-Bot <57413759+Cloak-Bot@users.noreply.github.com> Co-authored-by: Dan <cccm5@users.noreply.github.com> Co-authored-by: Danielshe <daniel@shedaniel.me> Co-authored-by: DrMeepster <19316085+DrMeepster@users.noreply.github.com> Co-authored-by: Draylar <samuelhimes@gmail.com> Co-authored-by: Erlend Åmdal <erlend@aamdal.com> Co-authored-by: Fudge <natan.lifsiz@gmail.com> Co-authored-by: Gareth Williams <840990+Gaz492@users.noreply.github.com> Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk> Co-authored-by: João <12478030+YummyLoop@users.noreply.github.com> Co-authored-by: Julian Dunskus <julian.dunskus@gmail.com> Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com> Co-authored-by: Juuxel <kasperi.kauppi@gmail.com> Co-authored-by: LambdAurora <aurora42lambda@gmail.com> Co-authored-by: Laura F. D <eyesismine@gmail.com> Co-authored-by: Laura F. D <l@veriny.tf> Co-authored-by: Laura S. D <l@veriny.tf> Co-authored-by: Mikhail Oleynikov <falseresync@gmail.com> Co-authored-by: Mitchell Skaggs <skaggsm333@gmail.com> Co-authored-by: Modmuss50 <modmuss50@gmail.com> Co-authored-by: NeunEinser <daniel30797@gmail.com> Co-authored-by: NinjaPhenix <NinjaPhenix@users.noreply.github.com> Co-authored-by: Pyrofab <redstoneinfire@gmail.com> Co-authored-by: Ramid Khan <ramidzkh@gmail.com> Co-authored-by: Runemoro <runemoro1@gmail.com> Co-authored-by: Runemoro <runemoro@live.ca> Co-authored-by: SPGoding <SPGoding@outlook.com> Co-authored-by: Shnupbups <shnupbups@gmail.com> Co-authored-by: Siphalor <Siphalor@users.noreply.github.com> Co-authored-by: Stuff-Stuffs <stevenziehlke@gmail.com> Co-authored-by: SuperCoder79 <k.pranav@gmail.com> Co-authored-by: Tae Lim Kook <uruwi@protonmail.com> Co-authored-by: UpcraftLP <10714589+UpcraftLP@users.noreply.github.com> Co-authored-by: Valoeghese <valoeghesemods@gmail.com> Co-authored-by: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: biom4st3r <37042156+biom4st3r@users.noreply.github.com> Co-authored-by: comp500 <comp500@users.noreply.github.com> Co-authored-by: grondag <grondag@users.noreply.github.com> Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> Co-authored-by: howtonotwin <rasheeqhere@gmail.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: modmuss50 <modmuss50@gmail.com> Co-authored-by: prplz <mhiming@gmail.com> Co-authored-by: qouteall <45908579+qouteall@users.noreply.github.com> Co-authored-by: shedaniel <daniel@shedaniel.me> Co-authored-by: therealfarfetchd <git@therealfarfetchd.dev> Co-authored-by: valoeghese <46117728+valoeghese@users.noreply.github.com> Co-authored-by: ­Sollace <Sollace@users.noreply.github.com>
2020-02-16 15:32:39 -05:00
@rem https://www.apache.org/licenses/LICENSE-2.0
@rem
@rem Unless required by applicable law or agreed to in writing, software
@rem distributed under the License is distributed on an "AS IS" BASIS,
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
@rem
2016-08-17 15:23:53 -04:00
@if "%DEBUG%" == "" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@rem
@rem ##########################################################################
@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal
set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
2016-08-17 15:23:53 -04:00
@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome
set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if "%ERRORLEVEL%" == "0" goto init
echo.
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.
goto fail
:findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:"=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
if exist "%JAVA_EXE%" goto init
echo.
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.
goto fail
:init
@rem Get command-line arguments, handling Windows variants
if not "%OS%" == "Windows_NT" goto win9xME_args
:win9xME_args
@rem Slurp the command line arguments.
set CMD_LINE_ARGS=
set _SKIP=2
:win9xME_args_slurp
if "x%~1" == "x" goto execute
set CMD_LINE_ARGS=%*
:execute
@rem Setup the command line
set CLASSPATH=%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 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
:omega