2020-04-26 18:25:59 +00:00
|
|
|
plugins {
|
|
|
|
kotlin("js")
|
|
|
|
kotlin("plugin.serialization")
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation(kotlin("stdlib-js"))
|
|
|
|
|
2021-06-20 12:52:13 +00:00
|
|
|
with(Deps.Kotlinx) {
|
|
|
|
implementation(htmlJs)
|
|
|
|
}
|
|
|
|
|
|
|
|
with(Deps.React) {
|
|
|
|
implementation(styled)
|
|
|
|
implementation(react)
|
|
|
|
implementation(dom)
|
|
|
|
implementation(routerDom)
|
|
|
|
}
|
|
|
|
|
2020-04-26 18:25:59 +00:00
|
|
|
implementation(npm("react", "16.13.0"))
|
|
|
|
implementation(npm("react-dom", "16.13.0"))
|
|
|
|
|
2021-06-06 18:09:49 +00:00
|
|
|
// Material Design Components for React
|
|
|
|
implementation(npm("@material-ui/core", "4.11.1"))
|
|
|
|
|
|
|
|
// ReactJS Maps
|
|
|
|
implementation(npm("pigeon-maps", "0.19.6"))
|
|
|
|
|
2020-04-26 18:25:59 +00:00
|
|
|
implementation(project(":common"))
|
|
|
|
}
|
|
|
|
|
2020-05-03 17:51:03 +00:00
|
|
|
kotlin {
|
2021-05-04 20:31:53 +00:00
|
|
|
js(IR) {
|
2020-09-17 17:29:43 +00:00
|
|
|
browser()
|
2021-05-04 20:31:53 +00:00
|
|
|
binaries.executable()
|
2020-05-03 17:51:03 +00:00
|
|
|
}
|
|
|
|
}
|