Disable yarn and npm tasks from the build when tests are not active
Kotlin build shouldn't depend on npm during while deploy artefacts tasks ^KTI-887 Fixed ^KT-53687 Related
This commit is contained in:
@@ -10,6 +10,8 @@ kotlin {
|
||||
}
|
||||
}
|
||||
|
||||
suppressYarnAndNpmForAssemble()
|
||||
|
||||
val commonMainSources by task<Sync> {
|
||||
dependsOn(":kotlin-stdlib-js-ir:commonMainSources")
|
||||
from {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import org.jetbrains.kotlin.gradle.dsl.KotlinCompile
|
||||
import org.jetbrains.kotlin.gradle.plugin.KotlinJsCompilerType.IR
|
||||
|
||||
plugins {
|
||||
kotlin("multiplatform")
|
||||
@@ -17,6 +16,8 @@ kotlin {
|
||||
}
|
||||
}
|
||||
|
||||
suppressYarnAndNpmForAssemble()
|
||||
|
||||
val unimplementedNativeBuiltIns =
|
||||
(file("$rootDir/core/builtins/native/kotlin/").list().toSortedSet() - file("$rootDir/libraries/stdlib/js-ir/builtins/").list())
|
||||
.map { "core/builtins/native/kotlin/$it" }
|
||||
@@ -169,3 +170,4 @@ val packFullRuntimeKLib by tasks.registering(Jar::class) {
|
||||
destinationDirectory.set(rootProject.buildDir.resolve("js-ir-runtime"))
|
||||
archiveFileName.set("full-runtime.klib")
|
||||
}
|
||||
|
||||
|
||||
@@ -7,6 +7,8 @@ plugins {
|
||||
kotlin("multiplatform")
|
||||
}
|
||||
|
||||
suppressYarnAndNpmForAssemble()
|
||||
|
||||
description = "Kotlin Standard Library for experimental WebAssembly platform"
|
||||
|
||||
val unimplementedNativeBuiltIns =
|
||||
|
||||
Reference in New Issue
Block a user