diff options
-rw-r--r-- | development/gradle/gradle.SlackBuild | 15 | ||||
-rw-r--r-- | development/gradle/gradle.info | 6 |
2 files changed, 5 insertions, 16 deletions
diff --git a/development/gradle/gradle.SlackBuild b/development/gradle/gradle.SlackBuild index 4d1975be36..a7d8f74bdc 100644 --- a/development/gradle/gradle.SlackBuild +++ b/development/gradle/gradle.SlackBuild @@ -26,7 +26,7 @@ # Started by Arun Mascarenhas (arunmascarenhas[at]yahoo[dot]com) PRGNAM=gradle -VERSION=${VERSION:-1.11} +VERSION=${VERSION:-2.0} ARCH=noarch BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -44,7 +44,7 @@ rm -rf $PKG mkdir -p $TMP $PKG/usr/share/java $PKG/$GRADLE_HOME $OUTPUT $PKG/usr/bin cd $TMP rm -rf ${PRGNAM}-$VERSION -unzip $CWD/${PRGNAM}-$VERSION-bin.zip +unzip $CWD/${PRGNAM}-$VERSION-all.zip cd ${PRGNAM}-$VERSION chown -R root:root . @@ -54,17 +54,6 @@ mkdir -p $PKG/etc/profile.d/ install -m755 $CWD/$PRGNAM.csh $PKG/etc/profile.d/$PRGNAM.csh install -m755 $CWD/$PRGNAM.sh $PKG/etc/profile.d/$PRGNAM.sh -cd $PKG/usr/share/java - for jar in $PKG/$GRADLE_HOME/lib/*.jar ; do - if [ -f $PKG/usr/share/java/$(basename jar) ] - then - echo "Skipping $jar" - continue - fi - ln -s $GRADLE_HOME/lib/$(basename $jar) $(basename $jar) - done -cd - - cd $PKG/usr/bin ln -s $GRADLE_HOME/bin/gradle cd - diff --git a/development/gradle/gradle.info b/development/gradle/gradle.info index 93e63853d9..9f49e34d56 100644 --- a/development/gradle/gradle.info +++ b/development/gradle/gradle.info @@ -1,8 +1,8 @@ PRGNAM="gradle" -VERSION="1.11" +VERSION="2.0" HOMEPAGE="http://www.gradle.org/" -DOWNLOAD="http://services.gradle.org/distributions/gradle-1.11-bin.zip" -MD5SUM="67acb841861f9ae362d7e0675f0aaca8" +DOWNLOAD="http://services.gradle.org/distributions/gradle-2.0-all.zip" +MD5SUM="1d0853b99e6097ea3dea5f3604dc0846" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="jdk" |