build gradle fixes

This commit is contained in:
Ugljesa Jovanovic authored and Ugljesa Jovanovic committed 2020-05-17 00:00:01 +02:00
1 parent a5fc3c8350
commit 6d6b16edfc
1 file changed
+6 -3
+6 -3
View File
@@ -353,9 +353,7 @@ task<Copy>("copyPackageJson") {
} }
tasks { tasks {
val npmInstall by getting
val compileKotlinJs by getting(AbstractCompile::class)
val compileTestKotlinJs by getting(Kotlin2JsCompile::class)
create<Jar>("javadocJar") { create<Jar>("javadocJar") {
dependsOn(dokka) dependsOn(dokka)
@@ -376,6 +374,11 @@ tasks {
} }
} }
if (getHostOsName() == "linux") { 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) { val jvmTest by getting(Test::class) {
testLogging { testLogging {
events("PASSED", "FAILED", "SKIPPED") events("PASSED", "FAILED", "SKIPPED")