kmath/kmath-for-real/build.gradle.kts

48 lines
1.3 KiB
Plaintext

plugins {
kotlin("multiplatform")
id("ru.mipt.npm.gradle.common")
// id("ru.mipt.npm.gradle.native")
}
kotlin.sourceSets.commonMain {
dependencies {
api(project(":kmath-core"))
}
}
readme {
description = """
Extension module that should be used to achieve numpy-like behavior.
All operations are specialized to work with `Double` numbers without declaring algebraic contexts.
One can still use generic algebras though.
""".trimIndent()
maturity = ru.mipt.npm.gradle.Maturity.EXPERIMENTAL
propertyByTemplate("artifact", rootProject.file("docs/templates/ARTIFACT-TEMPLATE.md"))
feature(
id = "DoubleVector",
ref = "src/commonMain/kotlin/space/kscience/kmath/real/DoubleVector.kt"
){
"Numpy-like operations for Buffers/Points"
}
feature(
id = "DoubleMatrix",
ref = "src/commonMain/kotlin/space/kscience/kmath/real/DoubleMatrix.kt"
){
"Numpy-like operations for 2d real structures"
}
feature(
id = "grids",
ref = "src/commonMain/kotlin/space/kscience/kmath/structures/grids.kt"
){
"Uniform grid generators"
}
}
// Testing multi-receiver!
tasks.withType<org.jetbrains.kotlin.gradle.tasks.Kotlin2JsCompile> {
enabled = false
}