aboutsummaryrefslogtreecommitdiff
path: root/gradlew.bat
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2020-06-28 00:42:50 -0700
committerAllan Wang <me@allanwang.ca>2020-06-28 00:42:50 -0700
commit691994b7767fb2b4859f7e8c8ca67166259a034e (patch)
tree69817f5adccc4e6d8a0800240b992081ce211c24 /gradlew.bat
parent813f3867839d015c123625eb0a4586e79e210200 (diff)
downloadkau-691994b7767fb2b4859f7e8c8ca67166259a034e.tar.gz
kau-691994b7767fb2b4859f7e8c8ca67166259a034e.tar.bz2
kau-691994b7767fb2b4859f7e8c8ca67166259a034e.zip
Update gradle and add bugsnag to sample app
Diffstat (limited to 'gradlew.bat')
-rw-r--r--gradlew.bat4
1 files changed, 4 insertions, 0 deletions
diff --git a/gradlew.bat b/gradlew.bat
index 9618d8d..5093609 100644
--- a/gradlew.bat
+++ b/gradlew.bat
@@ -29,6 +29,9 @@ 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"
@@ -81,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%