summaryrefslogtreecommitdiff
path: root/simulator/gradlew.bat
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2020-07-09 15:41:58 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2020-08-24 19:48:03 +0200
commita76545d600efcd6baea1d4e170fc8360382588c4 (patch)
tree9a08b66bf66bdab24832e17b8ac26937b20eaeff /simulator/gradlew.bat
parentd8479e7e3744b8d1d31ac4d9f972e560eacd2cf8 (diff)
Update to Gradle 6.5.1
This commit updates the Gradle wrapper to version 6.5.1 to address some of the issues we were having when importing the project.
Diffstat (limited to 'simulator/gradlew.bat')
-rw-r--r--simulator/gradlew.bat22
1 files changed, 21 insertions, 1 deletions
diff --git a/simulator/gradlew.bat b/simulator/gradlew.bat
index 6d57edc7..5093609d 100644
--- a/simulator/gradlew.bat
+++ b/simulator/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
@@ -13,8 +29,11 @@ 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"
+set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome
@@ -65,6 +84,7 @@ set CMD_LINE_ARGS=%*
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%