2021-05-14 22:23:28 +03:00
|
|
|
import space.kscience.kmath.ejml.codegen.ejmlCodegen
|
|
|
|
|
2020-09-20 12:40:07 +03:00
|
|
|
plugins {
|
2022-09-04 20:59:30 +03:00
|
|
|
id("space.kscience.gradle.jvm")
|
2020-09-20 12:40:07 +03:00
|
|
|
}
|
2020-09-09 19:42:43 +03:00
|
|
|
|
|
|
|
dependencies {
|
2021-07-16 21:12:14 +03:00
|
|
|
api("org.ejml:ejml-ddense:0.41")
|
|
|
|
api("org.ejml:ejml-fdense:0.41")
|
|
|
|
api("org.ejml:ejml-dsparse:0.41")
|
|
|
|
api("org.ejml:ejml-fsparse:0.41")
|
2021-03-17 19:11:26 +03:00
|
|
|
api(project(":kmath-core"))
|
2020-09-09 19:42:43 +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.PROTOTYPE
|
2021-03-17 19:11:26 +03:00
|
|
|
propertyByTemplate("artifact", rootProject.file("docs/templates/ARTIFACT-TEMPLATE.md"))
|
|
|
|
|
|
|
|
feature(
|
|
|
|
id = "ejml-vector",
|
|
|
|
ref = "src/main/kotlin/space/kscience/kmath/ejml/EjmlVector.kt"
|
2021-05-14 22:23:28 +03:00
|
|
|
) { "Point implementations." }
|
2021-03-17 19:11:26 +03:00
|
|
|
|
|
|
|
feature(
|
|
|
|
id = "ejml-matrix",
|
|
|
|
ref = "src/main/kotlin/space/kscience/kmath/ejml/EjmlMatrix.kt"
|
2021-05-14 22:23:28 +03:00
|
|
|
) { "Matrix implementation." }
|
2021-03-17 19:11:26 +03:00
|
|
|
|
|
|
|
feature(
|
|
|
|
id = "ejml-linear-space",
|
|
|
|
ref = "src/main/kotlin/space/kscience/kmath/ejml/EjmlLinearSpace.kt"
|
2021-05-14 22:23:28 +03:00
|
|
|
) { "LinearSpace implementations." }
|
|
|
|
}
|
|
|
|
|
|
|
|
kotlin.sourceSets.main {
|
|
|
|
val codegen by tasks.creating {
|
|
|
|
ejmlCodegen(kotlin.srcDirs.first().absolutePath + "/space/kscience/kmath/ejml/_generated.kt")
|
|
|
|
}
|
|
|
|
|
|
|
|
kotlin.srcDirs(files().builtBy(codegen))
|
2021-03-17 19:11:26 +03:00
|
|
|
}
|