pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

gradle: Import gradle-2.10 as wip/gradle.



Module Name:	pkgsrc-wip
Committed By:	asie <asiekierka%gmail.com@localhost>
Pushed By:	asie
Date:		Fri Jan 29 19:28:39 2016 +0100
Changeset:	d303024ff750aa463f146c8bed18fbdbd89928a0

Modified Files:
	Makefile
Added Files:
	gradle/DESCR
	gradle/Makefile
	gradle/PLIST
	gradle/distinfo
	gradle/files/gradle-launcher

Log Message:
gradle: Import gradle-2.10 as wip/gradle.

Gradle is a Java build system using a domain-specific language
based on Groovy for project build scripts.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d303024ff750aa463f146c8bed18fbdbd89928a0

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                     |   1 +
 gradle/DESCR                 |   3 +
 gradle/Makefile              |  45 ++++++++++++
 gradle/PLIST                 | 162 +++++++++++++++++++++++++++++++++++++++++++
 gradle/distinfo              |   6 ++
 gradle/files/gradle-launcher | 144 ++++++++++++++++++++++++++++++++++++++
 6 files changed, 361 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 74aa848..5520fdf 100644
--- a/Makefile
+++ b/Makefile
@@ -928,6 +928,7 @@ SUBDIR+=	gpsdrive
 SUBDIR+=	gpx2shp
 SUBDIR+=	gr-fcdproplus-git
 SUBDIR+=	gr-osmosdr-git
+SUBDIR+=	gradle
 SUBDIR+=	grandr
 SUBDIR+=	graphite2
 SUBDIR+=	graphmonkey
diff --git a/gradle/DESCR b/gradle/DESCR
new file mode 100644
index 0000000..587d6f2
--- /dev/null
+++ b/gradle/DESCR
@@ -0,0 +1,3 @@
+Gradle is a Java based build tool which allows creating
+project build scripts using a domain-specific language
+based on Groovy.
diff --git a/gradle/Makefile b/gradle/Makefile
new file mode 100644
index 0000000..01d4b2c
--- /dev/null
+++ b/gradle/Makefile
@@ -0,0 +1,45 @@
+# $NetBSD$
+
+DISTNAME=	gradle-2.10-bin
+PKGNAME=	${DISTNAME:S/-bin//}
+CATEGORIES=	devel java
+MASTER_SITES=	http://services.gradle.org/distributions/
+EXTRACT_SUFX=	.zip
+
+MAINTAINER=	asiekierka%gmail.com@localhost
+HOMEPAGE=	http://gradle.org/
+COMMENT=	"Groovy-based Java build system"
+LICENSE=	apache-2.0
+
+DEPENDS+=	bash-[0-9]*:../../shells/bash
+
+WRKSRC=		${WRKDIR}/${PKGNAME_NOREV}
+
+USE_JAVA=	run
+USE_JAVA2=	yes
+NO_BUILD=	yes
+
+pre-configure:
+	${CP} files/gradle-launcher ${WRKSRC}/gradle-launcher
+
+SUBST_CLASSES+=		launcher
+SUBST_FILES.launcher=	gradle-launcher
+SUBST_STAGE.launcher=	post-configure
+SUBST_SED.launcher=	-e 's,@APP_HOME@,${PREFIX}/lib/java/gradle,g'
+SUBST_SED.launcher+=	-e 's,@PREFIX@,${PREFIX},g'
+SUBST_SED.launcher+=	-e 's,@APP_LAUNCHER@,lib/gradle-launcher-${PKGVERSION}\.jar,g'
+SUBST_SED.launcher+=	-e 's,@JAVA_HOME@,${PKG_JAVA_HOME},g'
+
+INSTALLATION_DIRS=	bin lib/java/gradle/lib lib/java/gradle/lib/plugins lib/java/gradle/lib/plugins/sonar
+INSTALLATION_DIRS+=	lib/java/gradle/media share/doc/java/gradle
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/gradle-launcher ${DESTDIR}${PREFIX}/bin/gradle
+	${INSTALL_SCRIPT} ${WRKSRC}/lib/*.jar ${DESTDIR}${PREFIX}/lib/java/gradle/lib
+	${INSTALL_SCRIPT} ${WRKSRC}/lib/plugins/*.jar ${DESTDIR}${PREFIX}/lib/java/gradle/lib/plugins
+	${INSTALL_SCRIPT} ${WRKSRC}/lib/plugins/sonar/*.jar ${DESTDIR}${PREFIX}/lib/java/gradle/lib/plugins/sonar
+	${INSTALL_SCRIPT} ${WRKSRC}/media/*.icns ${DESTDIR}${PREFIX}/lib/java/gradle/media
+	${INSTALL_SCRIPT} ${WRKSRC}/getting-started.html ${DESTDIR}${PREFIX}/share/doc/java/gradle
+
+.include "../../mk/java-vm.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/gradle/PLIST b/gradle/PLIST
new file mode 100644
index 0000000..cca98d6
--- /dev/null
+++ b/gradle/PLIST
@@ -0,0 +1,162 @@
+@comment $NetBSD$
+bin/gradle
+lib/java/gradle/lib/ant-1.9.3.jar
+lib/java/gradle/lib/ant-launcher-1.9.3.jar
+lib/java/gradle/lib/asm-all-5.0.3.jar
+lib/java/gradle/lib/commons-collections-3.2.1.jar
+lib/java/gradle/lib/commons-io-2.2.jar
+lib/java/gradle/lib/commons-lang-2.6.jar
+lib/java/gradle/lib/dom4j-1.6.1.jar
+lib/java/gradle/lib/gradle-base-services-${PKGVERSION}.jar
+lib/java/gradle/lib/gradle-base-services-groovy-${PKGVERSION}.jar
+lib/java/gradle/lib/gradle-cli-${PKGVERSION}.jar
+lib/java/gradle/lib/gradle-core-${PKGVERSION}.jar
+lib/java/gradle/lib/gradle-docs-${PKGVERSION}.jar
+lib/java/gradle/lib/gradle-launcher-${PKGVERSION}.jar
+lib/java/gradle/lib/gradle-messaging-${PKGVERSION}.jar
+lib/java/gradle/lib/gradle-model-core-${PKGVERSION}.jar
+lib/java/gradle/lib/gradle-model-groovy-${PKGVERSION}.jar
+lib/java/gradle/lib/gradle-native-${PKGVERSION}.jar
+lib/java/gradle/lib/gradle-open-api-${PKGVERSION}.jar
+lib/java/gradle/lib/gradle-resources-${PKGVERSION}.jar
+lib/java/gradle/lib/gradle-tooling-api-${PKGVERSION}.jar
+lib/java/gradle/lib/gradle-ui-${PKGVERSION}.jar
+lib/java/gradle/lib/gradle-wrapper-${PKGVERSION}.jar
+lib/java/gradle/lib/groovy-all-2.4.4.jar
+lib/java/gradle/lib/guava-jdk5-17.0.jar
+lib/java/gradle/lib/jansi-1.2.1.jar
+lib/java/gradle/lib/jarjar-1.3.jar
+lib/java/gradle/lib/javax.inject-1.jar
+lib/java/gradle/lib/jaxen-1.1.jar
+lib/java/gradle/lib/jcip-annotations-1.0.jar
+lib/java/gradle/lib/jcl-over-slf4j-1.7.10.jar
+lib/java/gradle/lib/jna-3.2.7.jar
+lib/java/gradle/lib/jul-to-slf4j-1.7.10.jar
+lib/java/gradle/lib/kryo-2.20.jar
+lib/java/gradle/lib/log4j-over-slf4j-1.7.10.jar
+lib/java/gradle/lib/minlog-1.2.jar
+lib/java/gradle/lib/native-platform-0.10.jar
+lib/java/gradle/lib/native-platform-freebsd-amd64-0.10.jar
+lib/java/gradle/lib/native-platform-freebsd-i386-0.10.jar
+lib/java/gradle/lib/native-platform-linux-amd64-0.10.jar
+lib/java/gradle/lib/native-platform-linux-i386-0.10.jar
+lib/java/gradle/lib/native-platform-osx-amd64-0.10.jar
+lib/java/gradle/lib/native-platform-osx-i386-0.10.jar
+lib/java/gradle/lib/native-platform-windows-amd64-0.10.jar
+lib/java/gradle/lib/native-platform-windows-i386-0.10.jar
+lib/java/gradle/lib/objenesis-1.2.jar
+lib/java/gradle/lib/plugins/aether-api-1.13.1.jar
+lib/java/gradle/lib/plugins/aether-connector-wagon-1.13.1.jar
+lib/java/gradle/lib/plugins/aether-impl-1.13.1.jar
+lib/java/gradle/lib/plugins/aether-spi-1.13.1.jar
+lib/java/gradle/lib/plugins/aether-util-1.13.1.jar
+lib/java/gradle/lib/plugins/aws-java-sdk-core-1.9.19.jar
+lib/java/gradle/lib/plugins/aws-java-sdk-kms-1.9.19.jar
+lib/java/gradle/lib/plugins/aws-java-sdk-s3-1.9.19.jar
+lib/java/gradle/lib/plugins/bcpg-jdk15on-1.51.jar
+lib/java/gradle/lib/plugins/bcprov-jdk15on-1.51.jar
+lib/java/gradle/lib/plugins/bndlib-2.4.0.jar
+lib/java/gradle/lib/plugins/bsh-2.0b4.jar
+lib/java/gradle/lib/plugins/commons-cli-1.2.jar
+lib/java/gradle/lib/plugins/commons-codec-1.6.jar
+lib/java/gradle/lib/plugins/core-3.1.1.jar
+lib/java/gradle/lib/plugins/geronimo-annotation_1.0_spec-1.0.jar
+lib/java/gradle/lib/plugins/gradle-announce-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-antlr-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-build-comparison-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-build-init-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-code-quality-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-dependency-management-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-diagnostics-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-ear-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-ide-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-ide-native-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-ivy-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-jacoco-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-javascript-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-jetty-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-language-groovy-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-language-java-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-language-jvm-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-language-native-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-language-scala-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-maven-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-osgi-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-platform-base-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-platform-jvm-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-platform-native-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-platform-play-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-plugin-development-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-plugin-use-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-plugins-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-publish-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-reporting-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-resources-http-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-resources-s3-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-resources-sftp-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-scala-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-signing-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-sonar-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-test-kit-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-testing-native-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gradle-tooling-api-builders-${PKGVERSION}.jar
+lib/java/gradle/lib/plugins/gson-2.2.4.jar
+lib/java/gradle/lib/plugins/hamcrest-core-1.3.jar
+lib/java/gradle/lib/plugins/httpclient-4.2.2.jar
+lib/java/gradle/lib/plugins/httpcore-4.2.2.jar
+lib/java/gradle/lib/plugins/ivy-2.2.0.jar
+lib/java/gradle/lib/plugins/jackson-annotations-2.3.2.jar
+lib/java/gradle/lib/plugins/jackson-core-2.3.2.jar
+lib/java/gradle/lib/plugins/jackson-databind-2.3.2.jar
+lib/java/gradle/lib/plugins/jatl-0.2.2.jar
+lib/java/gradle/lib/plugins/jcifs-1.3.17.jar
+lib/java/gradle/lib/plugins/jcommander-1.12.jar
+lib/java/gradle/lib/plugins/jetty-6.1.25.jar
+lib/java/gradle/lib/plugins/jetty-annotations-6.1.25.jar
+lib/java/gradle/lib/plugins/jetty-naming-6.1.25.jar
+lib/java/gradle/lib/plugins/jetty-plus-6.1.25.jar
+lib/java/gradle/lib/plugins/jetty-util-6.1.25.jar
+lib/java/gradle/lib/plugins/joda-time-2.8.2.jar
+lib/java/gradle/lib/plugins/jsch-0.1.53.jar
+lib/java/gradle/lib/plugins/jsp-2.1-6.1.14.jar
+lib/java/gradle/lib/plugins/jsp-api-2.1-6.1.14.jar
+lib/java/gradle/lib/plugins/junit-4.12.jar
+lib/java/gradle/lib/plugins/maven-aether-provider-3.0.4.jar
+lib/java/gradle/lib/plugins/maven-artifact-3.0.4.jar
+lib/java/gradle/lib/plugins/maven-compat-3.0.4.jar
+lib/java/gradle/lib/plugins/maven-core-3.0.4.jar
+lib/java/gradle/lib/plugins/maven-model-3.0.4.jar
+lib/java/gradle/lib/plugins/maven-model-builder-3.0.4.jar
+lib/java/gradle/lib/plugins/maven-plugin-api-3.0.4.jar
+lib/java/gradle/lib/plugins/maven-repository-metadata-3.0.4.jar
+lib/java/gradle/lib/plugins/maven-settings-3.0.4.jar
+lib/java/gradle/lib/plugins/maven-settings-builder-3.0.4.jar
+lib/java/gradle/lib/plugins/nekohtml-1.9.14.jar
+lib/java/gradle/lib/plugins/plexus-cipher-1.7.jar
+lib/java/gradle/lib/plugins/plexus-classworlds-2.4.jar
+lib/java/gradle/lib/plugins/plexus-component-annotations-1.5.5.jar
+lib/java/gradle/lib/plugins/plexus-container-default-1.5.5.jar
+lib/java/gradle/lib/plugins/plexus-interpolation-1.14.jar
+lib/java/gradle/lib/plugins/plexus-sec-dispatcher-1.3.jar
+lib/java/gradle/lib/plugins/plexus-utils-2.0.6.jar
+lib/java/gradle/lib/plugins/pmaven-common-0.8-20100325.jar
+lib/java/gradle/lib/plugins/pmaven-groovy-0.8-20100325.jar
+lib/java/gradle/lib/plugins/rhino-1.7R3.jar
+lib/java/gradle/lib/plugins/servlet-api-2.5-20081211.jar
+lib/java/gradle/lib/plugins/simple-4.1.21.jar
+lib/java/gradle/lib/plugins/snakeyaml-1.6.jar
+lib/java/gradle/lib/plugins/sonar-batch-bootstrapper-2.9.jar
+lib/java/gradle/lib/plugins/sonar/logback-classic-1.0.13.jar
+lib/java/gradle/lib/plugins/sonar/logback-core-1.0.13.jar
+lib/java/gradle/lib/plugins/testng-6.3.1.jar
+lib/java/gradle/lib/plugins/wagon-file-2.4.jar
+lib/java/gradle/lib/plugins/wagon-http-2.4.jar
+lib/java/gradle/lib/plugins/wagon-http-shared4-2.4.jar
+lib/java/gradle/lib/plugins/wagon-provider-api-2.4.jar
+lib/java/gradle/lib/plugins/xbean-reflect-3.4.jar
+lib/java/gradle/lib/plugins/xercesImpl-2.9.1.jar
+lib/java/gradle/lib/plugins/xml-apis-1.3.04.jar
+lib/java/gradle/lib/reflectasm-1.07-shaded.jar
+lib/java/gradle/lib/slf4j-api-1.7.10.jar
+lib/java/gradle/media/gradle.icns
+share/doc/java/gradle/getting-started.html
diff --git a/gradle/distinfo b/gradle/distinfo
new file mode 100644
index 0000000..4ef395d
--- /dev/null
+++ b/gradle/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (gradle-2.10-bin.zip) = 1c326d1d24e50d3a33a4673c20db7c57f01350e6
+RMD160 (gradle-2.10-bin.zip) = c927b91a7870b84841ebd05d52258c3c44cb3efa
+SHA512 (gradle-2.10-bin.zip) = 253e1f8194fccabd1affea6d27767676602eb9ee67efb1747af2688578a58b0aef51a569630ff4da2b8e744046760ec20a80a92a47bd3f4f96042ab547fbc7d7
+Size (gradle-2.10-bin.zip) = 46372477 bytes
diff --git a/gradle/files/gradle-launcher b/gradle/files/gradle-launcher
new file mode 100755
index 0000000..711ecc8
--- /dev/null
+++ b/gradle/files/gradle-launcher
@@ -0,0 +1,144 @@
+#!@PREFIX@/bin/bash
+
+##############################################################################
+##
+##  Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+APP_HOME="@APP_HOME@"
+APP_LAUNCHER="@APP_LAUNCHER@"
+JAVA_HOME="@JAVA_HOME@"
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+    echo "$*"
+}
+
+die ( ) {
+    echo
+    echo "$*"
+    echo
+    exit 1
+}
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+  CYGWIN* )
+    cygwin=true
+    ;;
+  Darwin* )
+    darwin=true
+    ;;
+  MINGW* )
+    msys=true
+    ;;
+esac
+
+CLASSPATH=$APP_HOME/$APP_LAUNCHER
+
+# 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
+        JAVACMD="$JAVA_HOME/jre/sh/java"
+    else
+        JAVACMD="$JAVA_HOME/bin/java"
+    fi
+    if [ ! -x "$JAVACMD" ] ; then
+        die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+    fi
+else
+    JAVACMD="java"
+    which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+    MAX_FD_LIMIT=`ulimit -H -n`
+    if [ $? -eq 0 ] ; then
+        if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+            MAX_FD="$MAX_FD_LIMIT"
+        fi
+        ulimit -n $MAX_FD
+        if [ $? -ne 0 ] ; then
+            warn "Could not set maximum file descriptor limit: $MAX_FD"
+        fi
+    else
+        warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+    fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+    GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+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`
+    SEP=""
+    for dir in $ROOTDIRSRAW ; do
+        ROOTDIRS="$ROOTDIRS$SEP$dir"
+        SEP="|"
+    done
+    OURCYGPATTERN="(^($ROOTDIRS))"
+    # Add a user-defined pattern to the cygpath arguments
+    if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+        OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+    fi
+    # Now convert the arguments - kludge to limit ourselves to /bin/sh
+    i=0
+    for arg in "$@" ; do
+        CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+        CHECK2=`echo "$arg"|egrep -c "^-"`                                 ### Determine if an option
+
+        if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then                    ### Added a condition
+            eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+        else
+            eval `echo args$i`="\"$arg\""
+        fi
+        i=$((i+1))
+    done
+    case $i in
+        (0) set -- ;;
+        (1) set -- "$args0" ;;
+        (2) set -- "$args0" "$args1" ;;
+        (3) set -- "$args0" "$args1" "$args2" ;;
+        (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+        (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+        (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+        (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+        (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+        (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+    esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+    JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.launcher.GradleMain "$@"


Home | Main Index | Thread Index | Old Index