maps-kt/demo/maps-wasm/build.gradle.kts

37 lines
740 B
Plaintext
Raw Normal View History

2024-02-23 12:11:43 +03:00
import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl
plugins {
kotlin("multiplatform")
2024-06-04 14:38:21 +03:00
alias(spclibs.plugins.compose.compiler)
alias(spclibs.plugins.compose.jb)
2024-02-23 12:11:43 +03:00
}
//val ktorVersion: String by rootProject.extra
kotlin {
@OptIn(ExperimentalWasmDsl::class)
wasmJs {
browser()
binaries.executable()
}
sourceSets {
2024-06-04 14:38:21 +03:00
commonMain {
dependencies {
@OptIn(org.jetbrains.compose.ExperimentalComposeLibrary::class)
api(compose.components.resources)
}
}
wasmJsMain {
2024-02-23 12:11:43 +03:00
dependencies {
implementation(projects.mapsKtScheme)
}
}
}
}
compose {
2024-06-04 14:38:21 +03:00
web {
2024-02-23 12:11:43 +03:00
}
}