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() {