kmath/kmath-complex/build.gradle.kts
2023-04-09 10:55:58 +03:00

56 lines
1.2 KiB
Plaintext

plugins {
id("space.kscience.gradle.mpp")
}
kscience {
jvm()
js()
native()
wasm{
browser {
testTask {
useKarma {
this.webpackConfig.experiments.add("topLevelAwait")
useChromeHeadless()
useConfigDirectory(project.projectDir.resolve("karma.config.d").resolve("wasm"))
}
}
}
}
wasmTest{
dependencies {
implementation(kotlin("test"))
}
}
dependencies {
api(projects.kmathCore)
}
testDependencies {
implementation(projects.testUtils)
}
}
readme {
description = "Complex numbers and quaternions."
maturity = space.kscience.gradle.Maturity.PROTOTYPE
propertyByTemplate("artifact", rootProject.file("docs/templates/ARTIFACT-TEMPLATE.md"))
feature(
id = "complex",
ref = "src/commonMain/kotlin/space/kscience/kmath/complex/Complex.kt"
) {
"Complex numbers operations"
}
feature(
id = "quaternion",
ref = "src/commonMain/kotlin/space/kscience/kmath/complex/Quaternion.kt"
) {
"Quaternions and their composition"
}
}