Restore GRADLE_OPTS from wrappers

Run the updated build script to generate gradlew and gradlew.bat files
that have correct GRADLE_OPTS.
This commit is contained in:
Phillip Webb
2012-10-31 17:30:52 -07:00
parent 23b091b786
commit 742d5f6f38
3 changed files with 3 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
#Sun Oct 28 11:46:52 PDT 2012
#Wed Oct 31 17:27:34 PDT 2012
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME

1
gradlew vendored
View File

@@ -7,6 +7,7 @@
##############################################################################
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
GRADLE_OPTS="-XX:MaxPermSize=1024m -Xmx1024m -XX:MaxHeapSize=256m $GRADLE_OPTS"
DEFAULT_JVM_OPTS=""
APP_NAME="Gradle"

1
gradlew.bat vendored
View File

@@ -9,6 +9,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 GRADLE_OPTS=-XX:MaxPermSize=1024m -Xmx1024m -XX:MaxHeapSize=256m %GRADLE_OPTS%
set DEFAULT_JVM_OPTS=
set DIRNAME=%~dp0