From 6d6b16edfcf042e4714bf7dcda2bebfcbd591164 Mon Sep 17 00:00:00 2001 From: Ugljesa Jovanovic Date: Sun, 17 May 2020 00:00:01 +0200 Subject: [PATCH] build gradle fixes --- multiplatform-crypto/build.gradle.kts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/multiplatform-crypto/build.gradle.kts b/multiplatform-crypto/build.gradle.kts index 58f6457..e3c43e0 100644 --- a/multiplatform-crypto/build.gradle.kts +++ b/multiplatform-crypto/build.gradle.kts @@ -353,9 +353,7 @@ task("copyPackageJson") { } tasks { - val npmInstall by getting - val compileKotlinJs by getting(AbstractCompile::class) - val compileTestKotlinJs by getting(Kotlin2JsCompile::class) + create("javadocJar") { dependsOn(dokka) @@ -376,6 +374,11 @@ tasks { } } if (getHostOsName() == "linux") { + + val npmInstall by getting + val compileKotlinJs by getting(AbstractCompile::class) + val compileTestKotlinJs by getting(Kotlin2JsCompile::class) + val jvmTest by getting(Test::class) { testLogging { events("PASSED", "FAILED", "SKIPPED")