diff options
-rw-r--r-- | devel/gradle/Makefile | 1 | ||||
-rw-r--r-- | devel/gradle/files/gradle.in | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/devel/gradle/Makefile b/devel/gradle/Makefile index 4d339ef0955c..8af327c06961 100644 --- a/devel/gradle/Makefile +++ b/devel/gradle/Makefile @@ -3,6 +3,7 @@ PORTNAME= gradle PORTVERSION= 6.6.1 +PORTREVISION= 1 CATEGORIES= devel java MASTER_SITES= https://downloads.gradle.org/distributions/ EXTRACT_SUFX= -bin.zip diff --git a/devel/gradle/files/gradle.in b/devel/gradle/files/gradle.in index 0d526d4cec3f..25d4d31d87f5 100644 --- a/devel/gradle/files/gradle.in +++ b/devel/gradle/files/gradle.in @@ -1,2 +1,2 @@ #!/bin/sh -exec "%%JAVA%%" -Dorg.gradle.native=false $JAVA_OPTS -classpath "%%DATADIR%%/lib/gradle-launcher-%%PORTVERSION%%.jar" org.gradle.launcher.GradleMain "$@" +exec "java" -Dorg.gradle.native=false $JAVA_OPTS -classpath "%%DATADIR%%/lib/gradle-launcher-%%PORTVERSION%%.jar" org.gradle.launcher.GradleMain "$@" |