set explicit JAVA_HOME
Some checks failed
Mirror / mirror (push) Failing after 4m31s

This commit is contained in:
Dominic 2024-11-25 17:19:05 +01:00
parent 51d55b5b6a
commit 945e2cb4e7
Signed by: msrd0
GPG key ID: AAF7C8430CA3345D

View file

@ -10,7 +10,7 @@ license=('Apache')
arch=('any') arch=('any')
depends=('freemarker' 'java-environment') 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" source=("https://github.com/Kotlin/dokka/archive/refs/tags/v$pkgver.tar.gz"
'0001-enable-application-plugin.patch' '0001-enable-application-plugin.patch'
@ -36,8 +36,8 @@ prepare() {
build() { build() {
cd "$srcdir/dokka-$pkgver" cd "$srcdir/dokka-$pkgver"
gradle :runners:cli:distTar JAVA_HOME=/usr/lib/jvm/java-8-openjdk gradle :runners:cli:distTar
gradle :plugins:base:jar JAVA_HOME=/usr/lib/jvm/java-8-openjdk gradle :plugins:base:jar
} }
package() { package() {