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:
@@ -4,6 +4,8 @@ plugins {
|
||||
kotlin("multiplatform")
|
||||
}
|
||||
|
||||
suppressYarnAndNpmForAssemble()
|
||||
|
||||
val commonMainSources by task<Sync> {
|
||||
from(
|
||||
"$rootDir/libraries/kotlin.test/common/src/main",
|
||||
|
||||
@@ -35,6 +35,8 @@ kotlin {
|
||||
}
|
||||
}
|
||||
|
||||
suppressYarnAndNpmForAssemble()
|
||||
|
||||
tasks.withType<KotlinCompile<*>>().configureEach {
|
||||
kotlinOptions.freeCompilerArgs += listOf(
|
||||
"-Xallow-kotlin-package",
|
||||
|
||||
Reference in New Issue
Block a user