You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.0 KiB
35 lines
1.0 KiB
4 years ago
|
import org.jetbrains.compose.compose
|
||
|
|
||
|
plugins {
|
||
|
kotlin("multiplatform")
|
||
|
id("org.jetbrains.compose")
|
||
|
}
|
||
|
|
||
|
kotlin {
|
||
|
js(IR) {
|
||
|
browser {
|
||
|
useCommonJs()
|
||
|
binaries.executable()
|
||
|
}
|
||
|
}
|
||
|
|
||
|
sourceSets {
|
||
|
named("jsMain") {
|
||
|
dependencies {
|
||
|
implementation(compose.runtime)
|
||
|
implementation(compose.web.widgets)
|
||
|
implementation(project(":common:utils"))
|
||
|
implementation(project(":common:database"))
|
||
|
implementation(project(":common:root"))
|
||
|
implementation(project(":common:main"))
|
||
|
implementation(project(":common:edit"))
|
||
|
implementation(Deps.ArkIvanov.Decompose.decompose)
|
||
|
implementation(Deps.ArkIvanov.MVIKotlin.mvikotlin)
|
||
|
implementation(Deps.ArkIvanov.MVIKotlin.mvikotlinMain)
|
||
|
implementation(npm("copy-webpack-plugin", "9.0.0"))
|
||
|
implementation(npm("@material-ui/icons", "4.11.2"))
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|