Warning, /graphics/krita/packaging/android/apk/gradlew.bat is written in an unsupported language. File is not indexed.

0001 @if "%DEBUG%" == "" @echo off
0002 @rem ##########################################################################
0003 @rem
0004 @rem  Gradle startup script for Windows
0005 @rem
0006 @rem ##########################################################################
0007 
0008 @rem Set local scope for the variables with windows NT shell
0009 if "%OS%"=="Windows_NT" setlocal
0010 
0011 set DIRNAME=%~dp0
0012 if "%DIRNAME%" == "" set DIRNAME=.
0013 set APP_BASE_NAME=%~n0
0014 set APP_HOME=%DIRNAME%
0015 
0016 @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
0017 set DEFAULT_JVM_OPTS="-Xmx64m"
0018 
0019 @rem Find java.exe
0020 if defined JAVA_HOME goto findJavaFromJavaHome
0021 
0022 set JAVA_EXE=java.exe
0023 %JAVA_EXE% -version >NUL 2>&1
0024 if "%ERRORLEVEL%" == "0" goto init
0025 
0026 echo.
0027 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
0028 echo.
0029 echo Please set the JAVA_HOME variable in your environment to match the
0030 echo location of your Java installation.
0031 
0032 goto fail
0033 
0034 :findJavaFromJavaHome
0035 set JAVA_HOME=%JAVA_HOME:"=%
0036 set JAVA_EXE=%JAVA_HOME%/bin/java.exe
0037 
0038 if exist "%JAVA_EXE%" goto init
0039 
0040 echo.
0041 echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
0042 echo.
0043 echo Please set the JAVA_HOME variable in your environment to match the
0044 echo location of your Java installation.
0045 
0046 goto fail
0047 
0048 :init
0049 @rem Get command-line arguments, handling Windows variants
0050 
0051 if not "%OS%" == "Windows_NT" goto win9xME_args
0052 
0053 :win9xME_args
0054 @rem Slurp the command line arguments.
0055 set CMD_LINE_ARGS=
0056 set _SKIP=2
0057 
0058 :win9xME_args_slurp
0059 if "x%~1" == "x" goto execute
0060 
0061 set CMD_LINE_ARGS=%*
0062 
0063 :execute
0064 @rem Setup the command line
0065 
0066 set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
0067 
0068 @rem Execute Gradle
0069 "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
0070 
0071 :end
0072 @rem End local scope for the variables with windows NT shell
0073 if "%ERRORLEVEL%"=="0" goto mainEnd
0074 
0075 :fail
0076 rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
0077 rem the _cmd.exe /c_ return code!
0078 if  not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
0079 exit /b 1
0080 
0081 :mainEnd
0082 if "%OS%"=="Windows_NT" endlocal
0083 
0084 :omega