2021-02-11 11:18:16 +03:00
|
|
|
plugins {
|
2021-04-14 12:40:26 +03:00
|
|
|
kotlin("multiplatform")
|
|
|
|
id("ru.mipt.npm.gradle.common")
|
2022-04-04 14:43:20 +03:00
|
|
|
// id("ru.mipt.npm.gradle.native")
|
2021-02-11 11:18:16 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
kscience {
|
|
|
|
useAtomic()
|
|
|
|
}
|
2019-02-13 18:21:51 +03:00
|
|
|
|
2021-01-28 20:04:33 +03:00
|
|
|
kotlin.sourceSets {
|
2022-04-04 14:43:20 +03:00
|
|
|
filter { it.name.contains("test", true) }
|
|
|
|
.map(org.jetbrains.kotlin.gradle.plugin.KotlinSourceSet::languageSettings)
|
|
|
|
.forEach {
|
|
|
|
it.optIn("space.kscience.kmath.misc.UnstableKMathAPI")
|
|
|
|
}
|
|
|
|
|
2021-01-28 20:04:33 +03:00
|
|
|
commonMain {
|
|
|
|
dependencies {
|
|
|
|
api(project(":kmath-core"))
|
|
|
|
}
|
2019-02-13 18:21:51 +03:00
|
|
|
}
|
2021-02-11 11:18:16 +03:00
|
|
|
commonTest {
|
|
|
|
dependencies {
|
2021-01-28 20:04:33 +03:00
|
|
|
implementation(project(":kmath-for-real"))
|
2022-04-05 23:23:29 +03:00
|
|
|
implementation(projects.kmath.kmathStat)
|
|
|
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.0")
|
2021-01-28 20:04:33 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
readme {
|
2021-04-20 17:39:45 +03:00
|
|
|
maturity = ru.mipt.npm.gradle.Maturity.PROTOTYPE
|
2020-09-08 12:40:47 +03:00
|
|
|
}
|
2022-04-04 14:43:20 +03:00
|
|
|
|
|
|
|
// Testing multi-receiver!
|
|
|
|
tasks.withType<org.jetbrains.kotlin.gradle.tasks.Kotlin2JsCompile> {
|
|
|
|
enabled = false
|
|
|
|
}
|