Mercurial > public > gradleplugins
diff gradlew @ 29:e531fc141b17
update gradle version
author | smith@nwoca.org |
---|---|
date | Tue, 04 Dec 2018 19:48:59 +0000 |
parents | 0a2819478262 |
children | 927f02ccc596 |
line wrap: on
line diff
--- a/gradlew Wed Dec 21 13:16:39 2016 +0000 +++ b/gradlew Tue Dec 04 19:48:59 2018 +0000 @@ -42,11 +42,6 @@ ;; 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 @@ 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 @@ 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`