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-11-13 21:45:37 +03:00
|
|
|
val tablesVersion = "0.2.1"
|
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()
|
2023-07-19 22:25:32 +03:00
|
|
|
browser {
|
|
|
|
commonWebpackConfig {
|
|
|
|
cssSupport {
|
2023-01-17 18:50:19 +03:00
|
|
|
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-07-19 22:25:32 +03:00
|
|
|
dependencies(jsMain) {
|
2023-11-13 21:45:37 +03:00
|
|
|
implementation(npm("tabulator-tables", "5.5.2"))
|
|
|
|
implementation(npm("@types/tabulator-tables", "5.5.3"))
|
2023-05-14 18:33:30 +03:00
|
|
|
}
|
|
|
|
useSerialization()
|
2022-01-07 12:29:43 +03:00
|
|
|
}
|
|
|
|
|
2023-07-19 22:25:32 +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
|
|
|
}
|