forked from kscience/kmath
30 lines
668 B
Plaintext
30 lines
668 B
Plaintext
plugins {
|
|
`npm-multiplatform`
|
|
id("kotlinx-atomicfu") version Versions.atomicfuVersion
|
|
}
|
|
|
|
kotlin.sourceSets {
|
|
commonMain {
|
|
dependencies {
|
|
api(project(":kmath-core"))
|
|
api(project(":kmath-coroutines"))
|
|
compileOnly("org.jetbrains.kotlinx:atomicfu-common:${Versions.atomicfuVersion}")
|
|
}
|
|
}
|
|
jvmMain {
|
|
dependencies {
|
|
compileOnly("org.jetbrains.kotlinx:atomicfu:${Versions.atomicfuVersion}")
|
|
}
|
|
}
|
|
jsMain {
|
|
dependencies {
|
|
compileOnly("org.jetbrains.kotlinx:atomicfu-js:${Versions.atomicfuVersion}")
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
atomicfu {
|
|
variant = "VH"
|
|
}
|