Permalink
Browse files

Restore GRADLE_OPTS from wrappers

Run the updated build script to generate gradlew and gradlew.bat files
that have correct GRADLE_OPTS.
  • Loading branch information...
1 parent 23b091b commit 742d5f6f3830f8a021ef7f1da3e6bf6e92036633 Phillip Webb committed Nov 1, 2012
Showing with 3 additions and 1 deletion.
  1. +1 −1 gradle/wrapper/gradle-wrapper.properties
  2. +1 −0 gradlew
  3. +1 −0 gradlew.bat
@@ -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
View
@@ -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"
View
@@ -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

0 comments on commit 742d5f6

Please sign in to comment.