2020-05-16 19:26:28 +03:00
|
|
|
plugins {
|
2023-06-02 20:58:32 +03:00
|
|
|
id("space.kscience.gradle.mpp")
|
2020-05-16 19:26:28 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
val dataforgeVersion: String by rootProject.extra
|
|
|
|
|
2023-06-02 20:58:32 +03:00
|
|
|
kscience{
|
|
|
|
js{
|
2020-10-06 17:50:36 +03:00
|
|
|
useCommonJs()
|
2021-05-09 15:49:18 +03:00
|
|
|
browser {
|
|
|
|
commonWebpackConfig {
|
2023-01-17 18:50:19 +03:00
|
|
|
cssSupport{
|
|
|
|
enabled.set(false)
|
|
|
|
}
|
2021-05-09 15:49:18 +03:00
|
|
|
}
|
|
|
|
}
|
2020-10-06 17:50:36 +03:00
|
|
|
}
|
2023-06-02 20:58:32 +03:00
|
|
|
jsMain{
|
|
|
|
api(projects.ui.react)
|
|
|
|
api("org.jetbrains.kotlin-wrappers:kotlin-ring-ui")
|
2020-05-16 19:26:28 +03:00
|
|
|
|
2023-06-02 20:58:32 +03:00
|
|
|
implementation(npm("core-js","3.12.1"))
|
|
|
|
implementation(npm("file-saver", "2.0.2"))
|
|
|
|
}
|
2020-05-16 19:26:28 +03:00
|
|
|
}
|