File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -961,7 +961,7 @@ configure(rootProject) {
961
961
gradleVersion = " 1.6"
962
962
963
963
doLast() {
964
- def gradleOpts = " -XX:MaxPermSize =1024m -Xmx1024m"
964
+ def gradleOpts = " -XX:MaxMetaspaceSize =1024m -Xmx1024m"
965
965
def gradleBatOpts = " $gradleOpts -XX:MaxHeapSize=256m"
966
966
File wrapperFile = file(" gradlew" )
967
967
wrapperFile. text = wrapperFile. text. replace(" DEFAULT_JVM_OPTS=" ,
Original file line number Diff line number Diff line change 7
7
# #############################################################################
8
8
9
9
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
10
- GRADLE_OPTS=" -XX:MaxPermSize =1024m -Xmx1024m $GRADLE_OPTS "
10
+ GRADLE_OPTS=" -XX:MaxMetaspaceSize =1024m -Xmx1024m $GRADLE_OPTS "
11
11
DEFAULT_JVM_OPTS=" "
12
12
13
13
APP_NAME=" Gradle"
Original file line number Diff line number Diff line change 9
9
if " %OS% " == " Windows_NT" setlocal
10
10
11
11
@ rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
12
- set GRADLE_OPTS = -XX:MaxPermSize =1024m -Xmx1024m -XX:MaxHeapSize=256m %GRADLE_OPTS%
12
+ set GRADLE_OPTS = -XX:MaxMetaspaceSize =1024m -Xmx1024m -XX:MaxHeapSize=256m %GRADLE_OPTS%
13
13
set DEFAULT_JVM_OPTS =
14
14
15
15
set DIRNAME = %~dp0
You can’t perform that action at this time.
0 commit comments