diff options
author | Vitaly Takmazov | 2016-08-17 07:04:21 -0400 |
---|---|---|
committer | Vitaly Takmazov | 2016-08-17 07:05:03 -0400 |
commit | 32484a19acdc8f49eb72f959ed31f4ae3116ee2b (patch) | |
tree | 4c9390af3f05d221e3c5e8d642f2ee4f12904e4d /gradlew | |
parent | 9598ef6f6c9538c9244c62e79d26d5d1d61230c1 (diff) |
gradle: update wrapper to 3.0
Diffstat (limited to 'gradlew')
-rwxr-xr-x | gradlew | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -42,11 +42,6 @@ case "`uname`" in ;; esac -# For Cygwin, ensure paths are in UNIX format before anything is touched. -if $cygwin ; then - [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` -fi - # Attempt to set APP_HOME # Resolve links: $0 may be a link PRG="$0" @@ -61,9 +56,9 @@ while [ -h "$PRG" ] ; do fi done SAVED="`pwd`" -cd "`dirname \"$PRG\"`/" >&- +cd "`dirname \"$PRG\"`/" >/dev/null APP_HOME="`pwd -P`" -cd "$SAVED" >&- +cd "$SAVED" >/dev/null CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar @@ -114,6 +109,7 @@ fi if $cygwin ; then APP_HOME=`cygpath --path --mixed "$APP_HOME"` CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` + JAVACMD=`cygpath --unix "$JAVACMD"` # We build the pattern for arguments to be converted via cygpath ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` |