blob: b200bb2fe834cac70a5bdc95b52a038674c72881 [file] [log] [blame]
plugins {
id 'org.jetbrains.kotlin.multiplatform'
}
repositories {
// Coroutines from the outer project are published by previous CI buils step
mavenLocal()
mavenCentral()
}
kotlin {
jvm()
js(IR) {
nodejs()
}
sourceSets {
commonMain {
dependencies {
implementation kotlin('stdlib-common')
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version"
}
}
commonTest {
dependencies {
implementation kotlin('test-common')
implementation kotlin('test-annotations-common')
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutines_version"
}
}
jsTest {
dependencies {
implementation kotlin('test-js')
}
}
jvmTest {
dependencies {
implementation kotlin('test')
implementation kotlin('test-junit')
}
}
}
}