Skip to content

Commit ce42479

Browse files
committed
Gradle files
1 parent 9cfdaa0 commit ce42479

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

gradle/wrapper/gradle-wrapper.jar

5.84 KB
Binary file not shown.

gradlew

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash
1+
#!/usr/bin/env sh
22

33
#
44
# Copyright 2015 the original author or authors.
@@ -49,11 +49,11 @@ DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
4949
# Use the maximum available, or set MAX_FD != -1 to use that value.
5050
MAX_FD="maximum"
5151

52-
warn ( ) {
52+
warn () {
5353
echo "$*"
5454
}
5555

56-
die ( ) {
56+
die () {
5757
echo
5858
echo "$*"
5959
echo
@@ -172,13 +172,14 @@ if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
172172
esac
173173
fi
174174

175-
# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
176-
function splitJvmOpts() {
177-
JVM_OPTS=("$@")
175+
# Escape application args
176+
save () {
177+
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
178+
echo " "
178179
}
179180
APP_ARGS=`save "$@"`
180181

181182
# Collect all arguments for the java command, following the shell quoting and substitution rules
182183
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
183184

184-
exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
185+
exec "$JAVACMD" "$@"

0 commit comments

Comments
 (0)