kmath/kmath-coroutines/build.gradle.kts

30 lines
854 B
Plaintext
Raw Normal View History

2019-02-12 14:14:16 +03:00
plugins {
id("scientifik.mpp")
2019-08-25 10:51:25 +03:00
//id("scientifik.atomic")
2019-02-12 14:14:16 +03:00
}
kotlin.sourceSets {
all {
with(languageSettings) {
useExperimentalAnnotation("kotlinx.coroutines.InternalCoroutinesApi")
useExperimentalAnnotation("kotlinx.coroutines.ExperimentalCoroutinesApi")
useExperimentalAnnotation("kotlinx.coroutines.FlowPreview")
}
}
commonMain {
dependencies {
api(project(":kmath-core"))
api("org.jetbrains.kotlinx:kotlinx-coroutines-core-common:${Scientifik.coroutinesVersion}")
2019-02-12 14:14:16 +03:00
}
}
jvmMain {
dependencies { api("org.jetbrains.kotlinx:kotlinx-coroutines-core:${Scientifik.coroutinesVersion}") }
}
jsMain {
dependencies { api("org.jetbrains.kotlinx:kotlinx-coroutines-core-js:${Scientifik.coroutinesVersion}") }
2019-02-12 14:14:16 +03:00
}
}