kmath/kmath-coroutines/build.gradle.kts

42 lines
1.1 KiB
Plaintext
Raw Normal View History

2019-02-12 14:14:16 +03:00
plugins {
2019-04-17 12:24:06 +03:00
id("multiplatform-config")
2019-02-12 14:14:16 +03:00
}
kotlin {
sourceSets {
2019-04-17 12:24:06 +03:00
commonMain {
2019-02-12 14:14:16 +03:00
dependencies {
api(project(":kmath-core"))
2019-04-17 12:24:06 +03:00
api("org.jetbrains.kotlinx:kotlinx-coroutines-core-common:${Ver.coroutinesVersion}")
2019-02-12 14:14:16 +03:00
}
}
2019-04-17 12:24:06 +03:00
commonTest {
2019-02-12 14:14:16 +03:00
dependencies {
implementation(kotlin("test-common"))
implementation(kotlin("test-annotations-common"))
}
}
jvmMain {
2019-02-12 14:14:16 +03:00
dependencies {
2019-04-17 12:24:06 +03:00
api("org.jetbrains.kotlinx:kotlinx-coroutines-core:${Ver.coroutinesVersion}")
2019-02-12 14:14:16 +03:00
}
}
jvmTest {
2019-02-12 14:14:16 +03:00
dependencies {
implementation(kotlin("test"))
implementation(kotlin("test-junit"))
}
}
jsMain {
2019-02-12 14:14:16 +03:00
dependencies {
2019-04-17 12:24:06 +03:00
api("org.jetbrains.kotlinx:kotlinx-coroutines-core-js:${Ver.coroutinesVersion}")
2019-02-12 14:14:16 +03:00
}
}
jsTest {
2019-02-12 14:14:16 +03:00
dependencies {
implementation(kotlin("test-js"))
}
}
}
}