2022-01-07 12:29:43 +03:00
|
|
|
plugins {
|
|
|
|
id("ru.mipt.npm.gradle.mpp")
|
|
|
|
}
|
|
|
|
|
2022-07-06 11:11:48 +03:00
|
|
|
val tablesVersion = "0.2.0-dev-1"
|
2022-01-07 12:29:43 +03:00
|
|
|
|
|
|
|
kscience {
|
|
|
|
useSerialization()
|
|
|
|
}
|
|
|
|
|
|
|
|
kotlin {
|
|
|
|
js {
|
|
|
|
useCommonJs()
|
|
|
|
binaries.library()
|
|
|
|
browser{
|
|
|
|
commonWebpackConfig{
|
|
|
|
cssSupport.enabled = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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{
|
|
|
|
maturity = ru.mipt.npm.gradle.Maturity.PROTOTYPE
|
|
|
|
}
|