From 7ea50bebfcd9183399744765e9a42ab0c22bb9c0 Mon Sep 17 00:00:00 2001 From: Vadim Misbakh-Soloviov Date: Sun, 6 Oct 2024 00:30:50 +0700 Subject: [PATCH] dev-java/gradle: fix support of modern jdk versions; closes #186 (again) Signed-off-by: Vadim Misbakh-Soloviov --- dev-java/gradle/gradle-8.10.2.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev-java/gradle/gradle-8.10.2.ebuild b/dev-java/gradle/gradle-8.10.2.ebuild index deb1a81d8..57a9c418e 100644 --- a/dev-java/gradle/gradle-8.10.2.ebuild +++ b/dev-java/gradle/gradle-8.10.2.ebuild @@ -48,7 +48,9 @@ src_compile() { # TERM=dumb ./gradlew --console=rich --gradle-user-home "${WORKDIR}" "${inst_target}" -Pgradle_installPath=dist \ # || die 'Gradle build failed' ## ^^^^^^^^^ - buildtime workaround of https://github.com/gradle/gradle/issues/4426 - EGRADLE_BIN="./gradlew" egradle "${inst_target}" -Pgradle_installPath=dist + EGRADLE_BIN="./gradlew" egradle "${inst_target}" \ + -Pgradle_installPath=dist \ + -Dorg.gradle.ignoreBuildJavaVersionCheck=true # see https://github.com/msva/mva-overlay/issues/186 } src_install() {