File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -28,16 +28,16 @@ APP_NAME="Gradle"
2828APP_BASE_NAME=` basename " $0 " `
2929
3030# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
31- DEFAULT_JVM_OPTS=" "
31+ DEFAULT_JVM_OPTS=" -Xmx128m -Dfile.encoding=UTF-8 "
3232
3333# Use the maximum available, or set MAX_FD != -1 to use that value.
3434MAX_FD=" maximum"
3535
36- warn ( ) {
36+ warn () {
3737 echo " $* "
3838}
3939
40- die ( ) {
40+ die () {
4141 echo
4242 echo " $* "
4343 echo
@@ -155,7 +155,7 @@ if $cygwin ; then
155155fi
156156
157157# Escape application args
158- save ( ) {
158+ save () {
159159 for i do printf %s\\ n " $i " | sed " s/'/'\\\\ ''/g;1s/^/'/;\$ s/\$ /' \\\\ /" ; done
160160 echo " "
161161}
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ set APP_BASE_NAME=%~n0
1414set APP_HOME = %DIRNAME%
1515
1616@ rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
17- set DEFAULT_JVM_OPTS =
17+ set DEFAULT_JVM_OPTS = -Xmx128m -Dfile.encoding=UTF-8
1818
1919@ rem Find java.exe
2020if defined JAVA_HOME goto findJavaFromJavaHome
You can’t perform that action at this time.
0 commit comments