aboutsummaryrefslogtreecommitdiff
path: root/development/gradle
diff options
context:
space:
mode:
Diffstat (limited to 'development/gradle')
-rw-r--r--development/gradle/README30
-rw-r--r--development/gradle/gradle.SlackBuild9
-rw-r--r--development/gradle/gradle.info8
3 files changed, 36 insertions, 11 deletions
diff --git a/development/gradle/README b/development/gradle/README
index 107c948334..3ce5fb3de3 100644
--- a/development/gradle/README
+++ b/development/gradle/README
@@ -7,8 +7,28 @@ static websites, generated documentation or indeed anything else.
Gradle combines the power and flexibility of Ant with the dependency
management and conventions of Maven into a more effective way to build.
-Powered by a Groovy DSL and packed with innovation, Gradle provides
-a declarative way to describe all kinds of builds through sensible
-defaults. Gradle is quickly becoming the build system of choice
-for many open source projects, leading edge enterprises and legacy
-automation challenges.
+Powered by a Groovy DSL and packed with innovation, Gradle provides a
+declarative way to describe all kinds of builds through sensible defaults.
+Gradle is quickly becoming the build system of choice for many open source
+projects, leading edge enterprises and legacy automation challenges.
+
+Excluding Documentation
+-----------------------
+
+If you would like to exclude the documentation in the generated package,
+you can use the following command when building the package:
+
+ # INCLUDE_DOCS=NO ./gradle.Slackbuild
+
+Dependencies
+------------
+
+Gradle runs on Java Virtual Machine (JVM). A JVM version between 8 and
+24 is required to execute Gradle.
+
+In the link given below, you can find the java version supported by a
+specific gradle release.
+
+I have tested this using zulu-openjdk17.
+
+https://docs.gradle.org/current/userguide/compatibility.html
diff --git a/development/gradle/gradle.SlackBuild b/development/gradle/gradle.SlackBuild
index ef43517de6..25ee181512 100644
--- a/development/gradle/gradle.SlackBuild
+++ b/development/gradle/gradle.SlackBuild
@@ -30,7 +30,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gradle
-VERSION=${VERSION:-8.5}
+VERSION=${VERSION:-8.14.1}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -73,7 +73,12 @@ cd -
rm -f $PKG/usr/share/gradle/bin/gradle.bat
mkdir -p $PKG/usr/doc/${PRGNAM}-$VERSION
-cp -a NOTICE LICENSE $PKG/usr/doc/${PRGNAM}-$VERSION
+if [ "${INCLUDE_DOCS}" = "NO" ]
+then
+ cp -a README NOTICE LICENSE $PKG/usr/doc/${PRGNAM}-$VERSION
+else
+ cp -a README NOTICE LICENSE docs/ $PKG/usr/doc/${PRGNAM}-$VERSION
+fi
cat $CWD/${PRGNAM}.SlackBuild > $PKG/usr/doc/${PRGNAM}-$VERSION/${PRGNAM}.SlackBuild
mkdir -p $PKG/install
diff --git a/development/gradle/gradle.info b/development/gradle/gradle.info
index 385a662aeb..d18a2e981e 100644
--- a/development/gradle/gradle.info
+++ b/development/gradle/gradle.info
@@ -1,10 +1,10 @@
PRGNAM="gradle"
-VERSION="8.5"
+VERSION="8.14.1"
HOMEPAGE="http://www.gradle.org/"
-DOWNLOAD="https://services.gradle.org/distributions/gradle-8.5-all.zip"
-MD5SUM="32d68c2bc0d9a71750b9da34115c2e08"
+DOWNLOAD="https://services.gradle.org/distributions/gradle-8.14.1-all.zip"
+MD5SUM="b958c33f39156d56ef91dc93ceef24a9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="zulu-openjdk11"
+REQUIRES="%README% zulu-openjdk17"
MAINTAINER="Riza Dindir"
EMAIL="rdindir@yahoo.com"