2019-02-12 14:14:16 +03:00
|
|
|
plugins {
|
2019-05-31 13:03:00 +03:00
|
|
|
`npm-multiplatform`
|
2019-04-24 10:44:03 +03:00
|
|
|
id("kotlinx-atomicfu") version Versions.atomicfuVersion
|
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-04-24 10:44:03 +03:00
|
|
|
api("org.jetbrains.kotlinx:kotlinx-coroutines-core-common:${Versions.coroutinesVersion}")
|
|
|
|
compileOnly("org.jetbrains.kotlinx:atomicfu-common:${Versions.atomicfuVersion}")
|
2019-02-12 14:14:16 +03:00
|
|
|
}
|
2019-04-23 13:07:36 +03:00
|
|
|
}
|
|
|
|
jvmMain {
|
|
|
|
dependencies {
|
2019-04-24 10:44:03 +03:00
|
|
|
api("org.jetbrains.kotlinx:kotlinx-coroutines-core:${Versions.coroutinesVersion}")
|
|
|
|
compileOnly("org.jetbrains.kotlinx:atomicfu:${Versions.atomicfuVersion}")
|
2019-02-12 14:14:16 +03:00
|
|
|
}
|
2019-04-23 13:07:36 +03:00
|
|
|
}
|
|
|
|
jsMain {
|
|
|
|
dependencies {
|
2019-04-24 10:44:03 +03:00
|
|
|
api("org.jetbrains.kotlinx:kotlinx-coroutines-core-js:${Versions.coroutinesVersion}")
|
|
|
|
compileOnly("org.jetbrains.kotlinx:atomicfu-js:${Versions.atomicfuVersion}")
|
2019-02-12 14:14:16 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|