kmath/kmath-sequential/build.gradle.kts
2019-04-23 16:07:26 +08:00

35 lines
766 B
Plaintext

plugins {
id("multiplatform-config")
id("kotlinx-atomicfu") version Ver.atomicfuVersion
}
kotlin {
jvm()
js()
sourceSets.invoke {
commonMain {
dependencies {
api(project(":kmath-core"))
api(project(":kmath-coroutines"))
compileOnly("org.jetbrains.kotlinx:atomicfu-common:${Ver.atomicfuVersion}")
}
}
"jvmMain" {
dependencies {
compileOnly("org.jetbrains.kotlinx:atomicfu:${Ver.atomicfuVersion}")
}
}
"jsMain" {
dependencies {
compileOnly("org.jetbrains.kotlinx:atomicfu-js:${Ver.atomicfuVersion}")
}
}
}
}
atomicfu {
variant = "VH"
}