2019-02-02 18:16:25 +03:00
|
|
|
plugins {
|
2019-04-17 12:24:06 +03:00
|
|
|
id("multiplatform-config")
|
|
|
|
id("kotlinx-atomicfu") version Ver.atomicfuVersion
|
2019-02-02 18:16:25 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
kotlin {
|
2019-04-17 12:24:06 +03:00
|
|
|
jvm()
|
2019-04-21 16:17:30 +03:00
|
|
|
js()
|
2019-02-02 18:16:25 +03:00
|
|
|
|
2019-04-17 12:24:06 +03:00
|
|
|
sourceSets.invoke {
|
|
|
|
commonMain {
|
2019-02-02 18:16:25 +03:00
|
|
|
dependencies {
|
|
|
|
api(project(":kmath-core"))
|
|
|
|
api(project(":kmath-coroutines"))
|
2019-04-17 12:24:06 +03:00
|
|
|
compileOnly("org.jetbrains.kotlinx:atomicfu-common:${Ver.atomicfuVersion}")
|
2019-02-02 18:16:25 +03:00
|
|
|
}
|
|
|
|
}
|
2019-04-17 12:24:06 +03:00
|
|
|
"jvmMain" {
|
2019-02-02 18:16:25 +03:00
|
|
|
dependencies {
|
2019-04-17 12:24:06 +03:00
|
|
|
compileOnly("org.jetbrains.kotlinx:atomicfu:${Ver.atomicfuVersion}")
|
2019-02-02 18:16:25 +03:00
|
|
|
}
|
|
|
|
}
|
2019-04-17 12:24:06 +03:00
|
|
|
"jsMain" {
|
2019-02-02 18:16:25 +03:00
|
|
|
dependencies {
|
2019-04-17 12:24:06 +03:00
|
|
|
compileOnly("org.jetbrains.kotlinx:atomicfu-js:${Ver.atomicfuVersion}")
|
2019-02-02 18:16:25 +03:00
|
|
|
}
|
|
|
|
}
|
2019-02-03 13:07:35 +03:00
|
|
|
|
2019-02-02 18:16:25 +03:00
|
|
|
}
|
2019-02-03 13:07:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
atomicfu {
|
|
|
|
variant = "VH"
|
2019-04-17 12:24:06 +03:00
|
|
|
}
|