Skip to content

Commit

Permalink
dev-java/gradle: fix support of modern jdk versions; closes #186 (again)
Browse files Browse the repository at this point in the history
Signed-off-by: Vadim Misbakh-Soloviov <[email protected]>
  • Loading branch information
msva committed Oct 5, 2024
1 parent 20945db commit 7ea50be
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dev-java/gradle/gradle-8.10.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 7ea50be

Please sign in to comment.