From 945e2cb4e7acf61112ac2fe709b3c19e2086e604 Mon Sep 17 00:00:00 2001 From: Dominic Date: Mon, 25 Nov 2024 17:19:05 +0100 Subject: [PATCH] set explicit JAVA_HOME --- PKGBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 2e6c05c..23efb08 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -10,7 +10,7 @@ license=('Apache') arch=('any') depends=('freemarker' 'java-environment') -makedepends=('gradle' 'jre8-openjdk-headless' 'npm') +makedepends=('gradle' 'jdk8-openjdk' 'npm') source=("https://github.com/Kotlin/dokka/archive/refs/tags/v$pkgver.tar.gz" '0001-enable-application-plugin.patch' @@ -36,8 +36,8 @@ prepare() { build() { cd "$srcdir/dokka-$pkgver" - gradle :runners:cli:distTar - gradle :plugins:base:jar + JAVA_HOME=/usr/lib/jvm/java-8-openjdk gradle :runners:cli:distTar + JAVA_HOME=/usr/lib/jvm/java-8-openjdk gradle :plugins:base:jar } package() {