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
|
|
|
}
|
|
|
|
|
2023-05-14 18:33:30 +03:00
|
|
|
val tablesVersion = "0.2.0-dev-4"
|
2022-01-07 12:29:43 +03:00
|
|
|
|
|
|
|
kscience {
|
2023-05-14 18:33:30 +03:00
|
|
|
jvm()
|
2022-01-07 12:29:43 +03:00
|
|
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-05-14 18:33:30 +03:00
|
|
|
dependencies {
|
|
|
|
api(projects.visionforgeCore)
|
|
|
|
api("space.kscience:tables-kt:${tablesVersion}")
|
2022-01-07 12:29:43 +03:00
|
|
|
}
|
2023-05-14 18:33:30 +03:00
|
|
|
dependencies(jsMain){
|
|
|
|
implementation(npm("tabulator-tables", "5.0.1"))
|
|
|
|
implementation(npm("@types/tabulator-tables", "5.0.1"))
|
|
|
|
}
|
|
|
|
useSerialization()
|
2022-01-07 12:29:43 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
readme{
|
2022-08-12 22:16:06 +03:00
|
|
|
maturity = space.kscience.gradle.Maturity.PROTOTYPE
|
2022-01-07 12:29:43 +03:00
|
|
|
}
|