2019-02-02 18:16:25 +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-02 18:16:25 +03:00
|
|
|
}
|
|
|
|
|
2019-04-23 13:07:36 +03:00
|
|
|
kotlin.sourceSets {
|
|
|
|
commonMain {
|
|
|
|
dependencies {
|
|
|
|
api(project(":kmath-core"))
|
|
|
|
api(project(":kmath-coroutines"))
|
2019-04-24 10:44:03 +03:00
|
|
|
compileOnly("org.jetbrains.kotlinx:atomicfu-common:${Versions.atomicfuVersion}")
|
2019-02-02 18:16:25 +03:00
|
|
|
}
|
2019-04-23 13:07:36 +03:00
|
|
|
}
|
|
|
|
jvmMain {
|
|
|
|
dependencies {
|
2019-04-24 10:44:03 +03:00
|
|
|
compileOnly("org.jetbrains.kotlinx:atomicfu:${Versions.atomicfuVersion}")
|
2019-02-02 18:16:25 +03:00
|
|
|
}
|
2019-04-23 13:07:36 +03:00
|
|
|
}
|
|
|
|
jsMain {
|
|
|
|
dependencies {
|
2019-04-24 10:44:03 +03:00
|
|
|
compileOnly("org.jetbrains.kotlinx:atomicfu-js:${Versions.atomicfuVersion}")
|
2019-02-02 18:16:25 +03:00
|
|
|
}
|
|
|
|
}
|
2019-04-23 13:07:36 +03:00
|
|
|
|
2019-02-03 13:07:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
atomicfu {
|
|
|
|
variant = "VH"
|
2019-04-17 12:24:06 +03:00
|
|
|
}
|