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