build gradle fixes

This commit is contained in:
Ugljesa Jovanovic 2020-05-17 00:00:01 +02:00 committed by Ugljesa Jovanovic
parent a5fc3c8350
commit 6d6b16edfc
No known key found for this signature in database
GPG Key ID: 178E6DFCECCB0E0F

View File

@ -353,9 +353,7 @@ task<Copy>("copyPackageJson") {
}
tasks {
val npmInstall by getting
val compileKotlinJs by getting(AbstractCompile::class)
val compileTestKotlinJs by getting(Kotlin2JsCompile::class)
create<Jar>("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")