kmath/kmath-tensors/build.gradle.kts

48 lines
1.5 KiB
Plaintext
Raw Permalink Normal View History

2021-03-31 11:07:45 +03:00
plugins {
2021-07-16 21:12:14 +03:00
kotlin("multiplatform")
id("ru.mipt.npm.gradle.common")
// id("ru.mipt.npm.gradle.native")
2021-03-31 11:07:45 +03:00
}
kotlin.sourceSets {
2021-05-01 20:45:23 +03:00
all {
languageSettings.optIn("space.kscience.kmath.misc.UnstableKMathAPI")
2021-05-01 20:45:23 +03:00
}
2021-07-16 21:12:14 +03:00
filter { it.name.contains("test", true) }
.map(org.jetbrains.kotlin.gradle.plugin.KotlinSourceSet::languageSettings)
.forEach { it.optIn("space.kscience.kmath.misc.PerformancePitfall") }
2021-03-31 11:07:45 +03:00
commonMain {
dependencies {
api(project(":kmath-core"))
api(project(":kmath-stat"))
}
}
}
readme {
maturity = ru.mipt.npm.gradle.Maturity.PROTOTYPE
propertyByTemplate("artifact", rootProject.file("docs/templates/ARTIFACT-TEMPLATE.md"))
feature(
id = "tensor algebra",
ref = "src/commonMain/kotlin/space/kscience/kmath/tensors/api/TensorAlgebra.kt"
) { "Basic linear algebra operations on tensors (plus, dot, etc.)" }
feature(
id = "tensor algebra with broadcasting",
ref = "src/commonMain/kotlin/space/kscience/kmath/tensors/core/BroadcastDoubleTensorAlgebra.kt"
) { "Basic linear algebra operations implemented with broadcasting." }
feature(
id = "linear algebra operations",
ref = "src/commonMain/kotlin/space/kscience/kmath/tensors/api/LinearOpsTensorAlgebra.kt"
) { "Advanced linear algebra operations like LU decomposition, SVD, etc." }
}
// Testing multi-receiver!
tasks.withType<org.jetbrains.kotlin.gradle.tasks.Kotlin2JsCompile> {
enabled = false
}