Warning, /network/kdeconnect-android/gradlew.bat is written in an unsupported language. File is not indexed.

0001 @rem
0002 @rem Copyright 2015 the original author or authors.
0003 @rem
0004 @rem Licensed under the Apache License, Version 2.0 (the "License");
0005 @rem you may not use this file except in compliance with the License.
0006 @rem You may obtain a copy of the License at
0007 @rem
0008 @rem      https://www.apache.org/licenses/LICENSE-2.0
0009 @rem
0010 @rem Unless required by applicable law or agreed to in writing, software
0011 @rem distributed under the License is distributed on an "AS IS" BASIS,
0012 @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0013 @rem See the License for the specific language governing permissions and
0014 @rem limitations under the License.
0015 @rem
0016 
0017 @if "%DEBUG%" == "" @echo off
0018 @rem ##########################################################################
0019 @rem
0020 @rem  Gradle startup script for Windows
0021 @rem
0022 @rem ##########################################################################
0023 
0024 @rem Set local scope for the variables with windows NT shell
0025 if "%OS%"=="Windows_NT" setlocal
0026 
0027 set DIRNAME=%~dp0
0028 if "%DIRNAME%" == "" set DIRNAME=.
0029 set APP_BASE_NAME=%~n0
0030 set APP_HOME=%DIRNAME%
0031 
0032 @rem Resolve any "." and ".." in APP_HOME to make it shorter.
0033 for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
0034 
0035 @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
0036 set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
0037 
0038 @rem Find java.exe
0039 if defined JAVA_HOME goto findJavaFromJavaHome
0040 
0041 set JAVA_EXE=java.exe
0042 %JAVA_EXE% -version >NUL 2>&1
0043 if "%ERRORLEVEL%" == "0" goto init
0044 
0045 echo.
0046 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
0047 echo.
0048 echo Please set the JAVA_HOME variable in your environment to match the
0049 echo location of your Java installation.
0050 
0051 goto fail
0052 
0053 :findJavaFromJavaHome
0054 set JAVA_HOME=%JAVA_HOME:"=%
0055 set JAVA_EXE=%JAVA_HOME%/bin/java.exe
0056 
0057 if exist "%JAVA_EXE%" goto init
0058 
0059 echo.
0060 echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
0061 echo.
0062 echo Please set the JAVA_HOME variable in your environment to match the
0063 echo location of your Java installation.
0064 
0065 goto fail
0066 
0067 :init
0068 @rem Get command-line arguments, handling Windows variants
0069 
0070 if not "%OS%" == "Windows_NT" goto win9xME_args
0071 
0072 :win9xME_args
0073 @rem Slurp the command line arguments.
0074 set CMD_LINE_ARGS=
0075 set _SKIP=2
0076 
0077 :win9xME_args_slurp
0078 if "x%~1" == "x" goto execute
0079 
0080 set CMD_LINE_ARGS=%*
0081 
0082 :execute
0083 @rem Setup the command line
0084 
0085 set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
0086 
0087 @rem Execute Gradle
0088 "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
0089 
0090 :end
0091 @rem End local scope for the variables with windows NT shell
0092 if "%ERRORLEVEL%"=="0" goto mainEnd
0093 
0094 :fail
0095 rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
0096 rem the _cmd.exe /c_ return code!
0097 if  not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
0098 exit /b 1
0099 
0100 :mainEnd
0101 if "%OS%"=="Windows_NT" endlocal
0102 
0103 :omega