Skip to content

Commit 00589de

Browse files
committed
fix gradle wrapper
1 parent d93de24 commit 00589de

File tree

3 files changed

+12
-14
lines changed

3 files changed

+12
-14
lines changed

.gitignore

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
### Gradle ###
2-
.gradle
3-
build/
4-
5-
!gradle/wrapper/gradle-wrapper.jar
6-
!gradle/wrapper/gradle-wrapper.properties
7-
8-
91
### Kotlin/JVM ###
102
*.class
113
*.log
@@ -67,3 +59,10 @@ Icon
6759

6860

6961
###########################
62+
63+
### Gradle ###
64+
.gradle
65+
build/
66+
67+
!gradle/wrapper/gradle-wrapper.jar
68+
!gradle/wrapper/gradle-wrapper.properties

gradle/wrapper/gradle-wrapper.jar

60.1 KB
Binary file not shown.

gradlew

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ done
8585
APP_BASE_NAME=${0##*/}
8686
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
8787

88+
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
89+
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
90+
8891
# Use the maximum available, or set MAX_FD != -1 to use that value.
8992
MAX_FD=maximum
9093

@@ -141,15 +144,15 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
141144
case $MAX_FD in #(
142145
max*)
143146
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
144-
# shellcheck disable=SC3045
147+
# shellcheck disable=SC3045
145148
MAX_FD=$( ulimit -H -n ) ||
146149
warn "Could not query maximum file descriptor limit"
147150
esac
148151
case $MAX_FD in #(
149152
'' | soft) :;; #(
150153
*)
151154
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
152-
# shellcheck disable=SC3045
155+
# shellcheck disable=SC3045
153156
ulimit -n "$MAX_FD" ||
154157
warn "Could not set maximum file descriptor limit to $MAX_FD"
155158
esac
@@ -194,10 +197,6 @@ if "$cygwin" || "$msys" ; then
194197
done
195198
fi
196199

197-
198-
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
199-
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
200-
201200
# Collect all arguments for the java command;
202201
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
203202
# shell script including quotes and variable substitutions, so put them in

0 commit comments

Comments
 (0)