2019-02-02 18:16:25 +03:00
|
|
|
plugins {
|
2019-07-17 14:21:37 +03:00
|
|
|
id("scientifik.mpp")
|
|
|
|
id("kotlinx-atomicfu")
|
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-07-17 14:21:37 +03:00
|
|
|
compileOnly("org.jetbrains.kotlinx:atomicfu-common:${Scientifik.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-07-17 14:21:37 +03:00
|
|
|
compileOnly("org.jetbrains.kotlinx:atomicfu:${Scientifik.atomicfuVersion}")
|
2019-02-02 18:16:25 +03:00
|
|
|
}
|
2019-04-23 13:07:36 +03:00
|
|
|
}
|
|
|
|
jsMain {
|
|
|
|
dependencies {
|
2019-07-17 14:21:37 +03:00
|
|
|
compileOnly("org.jetbrains.kotlinx:atomicfu-js:${Scientifik.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
|
|
|
}
|