2020-10-12 16:26:03 +03:00
|
|
|
plugins {
|
2024-10-04 14:55:15 +03:00
|
|
|
id("space.kscience.gradle.mpp")
|
2020-10-12 16:26:03 +03:00
|
|
|
}
|
|
|
|
|
2021-11-25 19:26:08 +03:00
|
|
|
kotlin.sourceSets
|
|
|
|
.filter { it.name.contains("test", true) }
|
|
|
|
.map(org.jetbrains.kotlin.gradle.plugin.KotlinSourceSet::languageSettings)
|
2023-05-12 20:57:55 +03:00
|
|
|
.forEach { it.optIn("space.kscience.kmath.UnstableKMathAPI") }
|
2021-11-25 19:26:08 +03:00
|
|
|
|
2021-05-20 19:32:56 +03:00
|
|
|
description = "Kotlin∇ integration module"
|
|
|
|
|
2024-10-04 14:55:15 +03:00
|
|
|
kscience{
|
|
|
|
jvm()
|
|
|
|
|
|
|
|
jvmMain{
|
|
|
|
api("ai.hypergraph:kaliningraph:0.1.9")
|
|
|
|
api("ai.hypergraph:kotlingrad:0.4.7")
|
|
|
|
api(project(":kmath-core"))
|
|
|
|
}
|
|
|
|
|
|
|
|
jvmTest{
|
|
|
|
implementation(project(":kmath-ast"))
|
|
|
|
}
|
2020-10-12 16:26:03 +03:00
|
|
|
}
|
2021-01-30 20:23:15 +03:00
|
|
|
|
2021-03-16 20:56:20 +03:00
|
|
|
readme {
|
2022-07-29 15:58:02 +03:00
|
|
|
maturity = space.kscience.gradle.Maturity.EXPERIMENTAL
|
2021-05-09 12:40:10 +03:00
|
|
|
propertyByTemplate("artifact", rootProject.file("docs/templates/ARTIFACT-TEMPLATE.md"))
|
|
|
|
|
|
|
|
feature(
|
|
|
|
"differentiable-mst-expression",
|
2021-07-12 20:21:46 +03:00
|
|
|
"src/main/kotlin/space/kscience/kmath/kotlingrad/KotlingradExpression.kt",
|
2021-05-09 12:40:10 +03:00
|
|
|
) {
|
|
|
|
"MST based DifferentiableExpression."
|
|
|
|
}
|
|
|
|
|
|
|
|
feature(
|
2021-07-12 20:21:46 +03:00
|
|
|
"scalars-adapters",
|
|
|
|
"src/main/kotlin/space/kscience/kmath/kotlingrad/scalarsAdapters.kt",
|
2021-05-09 12:40:10 +03:00
|
|
|
) {
|
|
|
|
"Conversions between Kotlin∇'s SFun and MST"
|
|
|
|
}
|
2021-04-21 15:46:02 +03:00
|
|
|
}
|