44 lines
1.0 KiB
Groovy
44 lines
1.0 KiB
Groovy
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')
|
|
}
|
|
}
|
|
}
|
|
}
|