kmath/kmath-streaming/build.gradle.kts

36 lines
818 B
Plaintext
Raw Normal View History

2019-02-02 18:16:25 +03:00
plugins {
2019-04-23 22:13:22 +03:00
`multiplatform-config`
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 22:05:47 +03:00
2019-02-02 18:16:25 +03:00
kotlin {
jvm ()
2019-04-21 16:17:30 +03:00
js()
2019-02-02 18:16:25 +03:00
sourceSets {
val commonMain by getting {
dependencies {
api(project(":kmath-core"))
api(project(":kmath-coroutines"))
2019-04-24 10:44:03 +03:00
compileOnly("org.jetbrains.kotlinx:atomicfu-common:${Versions.atomicfuVersion}")
2019-02-02 18:16:25 +03:00
}
}
val jvmMain by getting {
dependencies {
2019-04-24 10:44:03 +03:00
compileOnly("org.jetbrains.kotlinx:atomicfu:${Versions.atomicfuVersion}")
2019-02-02 18:16:25 +03:00
}
}
2019-04-21 16:17:30 +03:00
val jsMain by getting {
2019-02-02 18:16:25 +03:00
dependencies {
2019-04-24 10:44:03 +03:00
compileOnly("org.jetbrains.kotlinx:atomicfu-js:${Versions.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-02-02 18:16:25 +03:00
}