2021-04-14 12:40:26 +03:00
|
|
|
plugins {
|
|
|
|
kotlin("multiplatform")
|
2021-04-16 14:02:44 +03:00
|
|
|
id("ru.mipt.npm.gradle.common")
|
2022-04-04 14:43:20 +03:00
|
|
|
// id("ru.mipt.npm.gradle.native")
|
2021-04-16 14:02:44 +03:00
|
|
|
}
|
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) {
|
2021-11-23 23:48:43 +03:00
|
|
|
optIn("kotlinx.coroutines.InternalCoroutinesApi")
|
|
|
|
optIn("kotlinx.coroutines.ExperimentalCoroutinesApi")
|
|
|
|
optIn("kotlinx.coroutines.FlowPreview")
|
2020-08-22 12:49:21 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-23 13:07:36 +03:00
|
|
|
commonMain {
|
|
|
|
dependencies {
|
|
|
|
api(project(":kmath-core"))
|
2021-01-20 11:07:12 +03:00
|
|
|
api(project(":kmath-complex"))
|
2020-09-08 12:40:47 +03:00
|
|
|
api("org.jetbrains.kotlinx:kotlinx-coroutines-core:${ru.mipt.npm.gradle.KScienceVersions.coroutinesVersion}")
|
2019-02-12 14:14:16 +03:00
|
|
|
}
|
2019-04-23 13:07:36 +03:00
|
|
|
}
|
2019-02-12 14:14:16 +03:00
|
|
|
}
|
2021-01-30 20:23:15 +03:00
|
|
|
|
2021-03-16 20:56:20 +03:00
|
|
|
readme {
|
2021-04-20 17:39:45 +03:00
|
|
|
maturity = ru.mipt.npm.gradle.Maturity.EXPERIMENTAL
|
2022-04-04 14:43:20 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
// Testing multi-receiver!
|
|
|
|
tasks.withType<org.jetbrains.kotlin.gradle.tasks.Kotlin2JsCompile> {
|
|
|
|
enabled = false
|
|
|
|
}
|