2020-09-27 11:13:30 +03:00
|
|
|
plugins {
|
2022-07-29 15:58:02 +03:00
|
|
|
id("space.kscience.gradle.mpp")
|
2022-09-04 20:59:30 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
kscience {
|
2023-02-03 19:32:53 +03:00
|
|
|
jvm()
|
|
|
|
js()
|
2022-09-04 20:59:30 +03:00
|
|
|
native()
|
2023-04-09 10:55:58 +03:00
|
|
|
wasm{
|
|
|
|
browser {
|
|
|
|
testTask {
|
|
|
|
useKarma {
|
|
|
|
this.webpackConfig.experiments.add("topLevelAwait")
|
|
|
|
useChromeHeadless()
|
|
|
|
useConfigDirectory(project.projectDir.resolve("karma.config.d").resolve("wasm"))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
wasmTest{
|
|
|
|
dependencies {
|
|
|
|
implementation(kotlin("test"))
|
|
|
|
}
|
|
|
|
}
|
2020-09-27 11:13:30 +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.DEVELOPMENT
|
2021-01-30 20:23:15 +03:00
|
|
|
description = """
|
2021-05-20 15:43:29 +03:00
|
|
|
An API and basic implementation for arranging objects in a continuous memory block.
|
2021-01-30 20:23:15 +03:00
|
|
|
""".trimIndent()
|
2021-04-21 15:46:02 +03:00
|
|
|
}
|