kmath/kmath-histograms/build.gradle.kts

40 lines
919 B
Plaintext
Raw Permalink Normal View History

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")
// 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 {
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 {
maturity = ru.mipt.npm.gradle.Maturity.PROTOTYPE
}
// Testing multi-receiver!
tasks.withType<org.jetbrains.kotlin.gradle.tasks.Kotlin2JsCompile> {
enabled = false
}