gradlew disables Gradle Daemon

Fixes gh-4093
This commit is contained in:
Rob Winch 2016-10-17 09:20:47 -05:00
parent 48ff518a41
commit a18707c870
2 changed files with 3 additions and 1 deletions

3
gradlew vendored
View File

@ -7,7 +7,8 @@
##############################################################################
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS="-Xmx1024M -XX:MaxPermSize=512M"
DEFAULT_JVM_OPTS="-Xmx2048M -XX:MaxPermSize=512M"
export GRADLE_OPTS='-Dorg.gradle.daemon=false'
APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`

1
gradlew.bat vendored
View File

@ -10,6 +10,7 @@ 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=-Xmx1024M
set GRADLE_OPTS='-Dorg.gradle.daemon=false'
set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.