Permalink
Browse files

Update gradle wrapper

  • Loading branch information...
1 parent d52e175 commit a0b24367d5e18dab3e5fee2de3377a401668e5c3 @jlelse committed Nov 24, 2016
Showing with 7 additions and 6 deletions.
  1. BIN gradle/wrapper/gradle-wrapper.jar
  2. +1 −1 gradle/wrapper/gradle-wrapper.properties
  3. +6 −5 gradlew
Binary file not shown.
@@ -1,4 +1,4 @@
-#Thu Nov 24 18:33:05 CET 2016
+#Thu Nov 24 18:36:12 CET 2016
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
View
@@ -155,13 +155,14 @@ if $cygwin ; then
fi
# Escape application args
-for s in "${@}" ; do
- s=\"$s\"
- APP_ARGS=$APP_ARGS" "$s
-done
+save ( ) {
+ for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
+ echo " "
+}
+APP_ARGS=$(save "$@")
# Collect all arguments for the java command, following the shell quoting and substitution rules
-eval set -- "$DEFAULT_JVM_OPTS" "$JAVA_OPTS" "$GRADLE_OPTS" "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
+eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then

0 comments on commit a0b2436

Please sign in to comment.