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-coroutines"))
|
2019-06-16 11:24:55 +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-06-07 15:08:05 +03:00
|
|
|
// https://mvnrepository.com/artifact/org.apache.commons/commons-rng-simple
|
2019-06-08 14:26:44 +03:00
|
|
|
//api("org.apache.commons:commons-rng-sampling:1.2")
|
2019-06-16 11:24:55 +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-06-16 11:24:55 +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
|
|
|
}
|