37 lines
740 B
Plaintext
37 lines
740 B
Plaintext
import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl
|
|
|
|
plugins {
|
|
kotlin("multiplatform")
|
|
alias(spclibs.plugins.compose.compiler)
|
|
alias(spclibs.plugins.compose.jb)
|
|
}
|
|
|
|
//val ktorVersion: String by rootProject.extra
|
|
|
|
kotlin {
|
|
@OptIn(ExperimentalWasmDsl::class)
|
|
wasmJs {
|
|
browser()
|
|
binaries.executable()
|
|
}
|
|
sourceSets {
|
|
commonMain {
|
|
dependencies {
|
|
@OptIn(org.jetbrains.compose.ExperimentalComposeLibrary::class)
|
|
api(compose.components.resources)
|
|
}
|
|
}
|
|
|
|
wasmJsMain {
|
|
dependencies {
|
|
implementation(projects.mapsKtScheme)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
compose {
|
|
web {
|
|
|
|
}
|
|
} |