blob: 2c1d043812b293cdfeb2efd8884e35530badf514 [file] [log] [blame]
import org.jetbrains.kotlin.gradle.plugin.mpp.*
import org.jetbrains.kotlin.gradle.targets.js.dsl.*
kotlin {
targets.withType(KotlinNativeTargetWithTests::class.java).configureEach {
binaries.getTest("DEBUG").apply {
optimized = true
}
}
sourceSets {
jvmTest {
dependencies {
implementation(project(":kotlinx-coroutines-debug"))
}
}
}
@OptIn(ExperimentalWasmDsl::class)
wasmJs {
nodejs {
testTask {
filter.apply {
// https://youtrack.jetbrains.com/issue/KT-61888
excludeTest("TestDispatchersTest", "testMainMocking")
}
}
}
}
}