2022-01-07 12:29:43 +03:00
|
|
|
plugins {
|
2022-08-12 22:16:06 +03:00
|
|
|
id("space.kscience.gradle.mpp")
|
2022-01-07 12:29:43 +03:00
|
|
|
}
|
|
|
|
|
2022-08-08 22:17:06 +03:00
|
|
|
val tablesVersion = "0.2.0-dev-3"
|
2022-01-07 12:29:43 +03:00
|
|
|
|
|
|
|
kscience {
|
|
|
|
useSerialization()
|
|
|
|
}
|
|
|
|
|
|
|
|
kotlin {
|
|
|
|
js {
|
|
|
|
useCommonJs()
|
|
|
|
binaries.library()
|
|
|
|
browser{
|
|
|
|
commonWebpackConfig{
|
2023-01-17 18:50:19 +03:00
|
|
|
cssSupport{
|
|
|
|
enabled.set(true)
|
|
|
|
}
|
2022-01-07 12:29:43 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
commonMain {
|
|
|
|
dependencies {
|
|
|
|
api(project(":visionforge-core"))
|
|
|
|
api("space.kscience:tables-kt:${tablesVersion}")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
jsMain {
|
|
|
|
dependencies {
|
|
|
|
implementation(npm("tabulator-tables", "5.0.1"))
|
|
|
|
implementation(npm("@types/tabulator-tables", "5.0.1"))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
readme{
|
2022-08-12 22:16:06 +03:00
|
|
|
maturity = space.kscience.gradle.Maturity.PROTOTYPE
|
2022-01-07 12:29:43 +03:00
|
|
|
}
|