diff --git a/packages/gradle/build.sh b/packages/gradle/build.sh index 042d72607..1f5d631c2 100644 --- a/packages/gradle/build.sh +++ b/packages/gradle/build.sh @@ -2,9 +2,8 @@ TERMUX_PKG_HOMEPAGE=https://gradle.org/ TERMUX_PKG_DESCRIPTION="Powerful build system for the JVM" TERMUX_PKG_LICENSE="Apache-2.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION=7.2 -TERMUX_PKG_REVISION=1 -TERMUX_PKG_SRCURL=https://services.gradle.org/distributions/gradle-$TERMUX_PKG_VERSION-all.zip +TERMUX_PKG_VERSION=1:7.2 +TERMUX_PKG_SRCURL=https://services.gradle.org/distributions/gradle-${TERMUX_PKG_VERSION:2}-all.zip TERMUX_PKG_SHA256=a8da5b02437a60819cad23e10fc7e9cf32bcb57029d9cb277e26eeff76ce014b TERMUX_PKG_DEPENDS="openjdk-17" TERMUX_PKG_BUILD_IN_SRC=true