2019-02-12 14:14:16 +03:00
|
|
|
plugins {
|
2019-07-17 14:21:37 +03:00
|
|
|
id("scientifik.mpp")
|
2019-02-12 14:14:16 +03:00
|
|
|
}
|
|
|
|
|
2019-04-23 13:07:36 +03:00
|
|
|
kotlin.sourceSets {
|
|
|
|
commonMain {
|
|
|
|
dependencies {
|
|
|
|
api(project(":kmath-core"))
|
2019-07-17 14:21:37 +03:00
|
|
|
api("org.jetbrains.kotlinx:kotlinx-coroutines-core-common:${Scientifik.coroutinesVersion}")
|
|
|
|
compileOnly("org.jetbrains.kotlinx:atomicfu-common:${Scientifik.atomicfuVersion}")
|
2019-02-12 14:14:16 +03:00
|
|
|
}
|
2019-04-23 13:07:36 +03:00
|
|
|
}
|
|
|
|
jvmMain {
|
|
|
|
dependencies {
|
2019-07-17 14:21:37 +03:00
|
|
|
api("org.jetbrains.kotlinx:kotlinx-coroutines-core:${Scientifik.coroutinesVersion}")
|
|
|
|
compileOnly("org.jetbrains.kotlinx:atomicfu:${Scientifik.atomicfuVersion}")
|
2019-02-12 14:14:16 +03:00
|
|
|
}
|
2019-04-23 13:07:36 +03:00
|
|
|
}
|
|
|
|
jsMain {
|
|
|
|
dependencies {
|
2019-07-17 14:21:37 +03:00
|
|
|
api("org.jetbrains.kotlinx:kotlinx-coroutines-core-js:${Scientifik.coroutinesVersion}")
|
|
|
|
compileOnly("org.jetbrains.kotlinx:atomicfu-js:${Scientifik.atomicfuVersion}")
|
2019-02-12 14:14:16 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|