import space.kscience.kmath.ejml.codegen.ejmlCodegen plugins { id("space.kscience.gradle.jvm") } dependencies { 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") api(project(":kmath-core")) } readme { maturity = space.kscience.gradle.Maturity.PROTOTYPE propertyByTemplate("artifact", rootProject.file("docs/templates/ARTIFACT-TEMPLATE.md")) feature( id = "ejml-vector", ref = "src/main/kotlin/space/kscience/kmath/ejml/EjmlVector.kt" ) { "Point implementations." } feature( id = "ejml-matrix", ref = "src/main/kotlin/space/kscience/kmath/ejml/EjmlMatrix.kt" ) { "Matrix implementation." } feature( id = "ejml-linear-space", ref = "src/main/kotlin/space/kscience/kmath/ejml/EjmlLinearSpace.kt" ) { "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)) }