comparison gradlew @ 29:e531fc141b17

update gradle version
author smith@nwoca.org
date Tue, 04 Dec 2018 19:48:59 +0000
parents 0a2819478262
children 927f02ccc596
comparison
equal deleted inserted replaced
28:204c063c93d3 29:e531fc141b17
40 MINGW* ) 40 MINGW* )
41 msys=true 41 msys=true
42 ;; 42 ;;
43 esac 43 esac
44 44
45 # For Cygwin, ensure paths are in UNIX format before anything is touched.
46 if $cygwin ; then
47 [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
48 fi
49
50 # Attempt to set APP_HOME 45 # Attempt to set APP_HOME
51 # Resolve links: $0 may be a link 46 # Resolve links: $0 may be a link
52 PRG="$0" 47 PRG="$0"
53 # Need this for relative symlinks. 48 # Need this for relative symlinks.
54 while [ -h "$PRG" ] ; do 49 while [ -h "$PRG" ] ; do
59 else 54 else
60 PRG=`dirname "$PRG"`"/$link" 55 PRG=`dirname "$PRG"`"/$link"
61 fi 56 fi
62 done 57 done
63 SAVED="`pwd`" 58 SAVED="`pwd`"
64 cd "`dirname \"$PRG\"`/" >&- 59 cd "`dirname \"$PRG\"`/" >/dev/null
65 APP_HOME="`pwd -P`" 60 APP_HOME="`pwd -P`"
66 cd "$SAVED" >&- 61 cd "$SAVED" >/dev/null
67 62
68 CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 63 CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
69 64
70 # Determine the Java command to use to start the JVM. 65 # Determine the Java command to use to start the JVM.
71 if [ -n "$JAVA_HOME" ] ; then 66 if [ -n "$JAVA_HOME" ] ; then
112 107
113 # For Cygwin, switch paths to Windows format before running java 108 # For Cygwin, switch paths to Windows format before running java
114 if $cygwin ; then 109 if $cygwin ; then
115 APP_HOME=`cygpath --path --mixed "$APP_HOME"` 110 APP_HOME=`cygpath --path --mixed "$APP_HOME"`
116 CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 111 CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
112 JAVACMD=`cygpath --unix "$JAVACMD"`
117 113
118 # We build the pattern for arguments to be converted via cygpath 114 # We build the pattern for arguments to be converted via cygpath
119 ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 115 ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
120 SEP="" 116 SEP=""
121 for dir in $ROOTDIRSRAW ; do 117 for dir in $ROOTDIRSRAW ; do