diff options
author | Docile-Alligator <chineseperson5@gmail.com> | 2020-05-28 04:07:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-28 04:07:11 +0000 |
commit | 8d715956cb4b9462aa85df009f7946edb46737b5 (patch) | |
tree | 4713b6ce43ab25b0c4427150065dc1fa896c1d84 /gradlew.bat | |
parent | 07710908ba44f3ada4d95c1fffd3cb708029a633 (diff) | |
parent | 6126df39a5e1fc0a935327cfdedb4d15beba62be (diff) | |
download | infinity-for-reddit-8d715956cb4b9462aa85df009f7946edb46737b5.tar infinity-for-reddit-8d715956cb4b9462aa85df009f7946edb46737b5.tar.gz infinity-for-reddit-8d715956cb4b9462aa85df009f7946edb46737b5.tar.bz2 infinity-for-reddit-8d715956cb4b9462aa85df009f7946edb46737b5.tar.lz infinity-for-reddit-8d715956cb4b9462aa85df009f7946edb46737b5.tar.xz infinity-for-reddit-8d715956cb4b9462aa85df009f7946edb46737b5.tar.zst infinity-for-reddit-8d715956cb4b9462aa85df009f7946edb46737b5.zip |
Merge pull request #86 from TacoTheDank/master
Update gradle and dependencies
Diffstat (limited to 'gradlew.bat')
-rw-r--r-- | gradlew.bat | 33 |
1 files changed, 23 insertions, 10 deletions
diff --git a/gradlew.bat b/gradlew.bat index aec99730..9109989e 100644 --- a/gradlew.bat +++ b/gradlew.bat @@ -1,3 +1,19 @@ +@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
+@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
+
@if "%DEBUG%" == "" @echo off
@rem ##########################################################################
@rem
@@ -8,14 +24,17 @@ @rem Set local scope for the variables with windows NT shell
if "%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.
-set DEFAULT_JVM_OPTS=
-
set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%
+@rem Resolve any "." and ".." in APP_HOME to make it shorter.
+for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
+
+@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"
+
@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome
@@ -46,10 +65,9 @@ echo location of your Java installation. goto fail
:init
-@rem Get command-line arguments, handling Windowz variants
+@rem Get command-line arguments, handling Windows variants
if not "%OS%" == "Windows_NT" goto win9xME_args
-if "%@eval[2+2]" == "4" goto 4NT_args
:win9xME_args
@rem Slurp the command line arguments.
@@ -60,11 +78,6 @@ set _SKIP=2 if "x%~1" == "x" goto execute
set CMD_LINE_ARGS=%*
-goto execute
-
-:4NT_args
-@rem Get arguments from the 4NT Shell from JP Software
-set CMD_LINE_ARGS=%$
:execute
@rem Setup the command line
|