Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,20 @@ warn ( ) {
echo "$*"
}



die ( ) {
echo
echo "$*"
echo
exit 1
}



# OS specific support (must be 'true' or 'false').


cygwin=false
msys=false
darwin=false
Expand All @@ -43,7 +49,13 @@ case "`uname`" in
esac

# Attempt to set APP_HOME



# Resolve links: $0 may be a link



PRG="$0"
# Need this for relative symlinks.
while [ -h "$PRG" ] ; do
Expand All @@ -63,6 +75,9 @@ cd "$SAVED" >/dev/null
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar

# Determine the Java command to use to start the JVM.



if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
Expand Down