37 lines
1002 B
Kotlin
37 lines
1002 B
Kotlin
@file:OptIn(ExperimentalWasmDsl::class)
|
|
|
|
import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl
|
|
|
|
plugins {
|
|
alias(libs.plugins.convention.web.app)
|
|
alias(libs.plugins.convention.kmp)
|
|
alias(libs.plugins.convention.compose)
|
|
alias(libs.plugins.convention.koin)
|
|
}
|
|
|
|
kotlin {
|
|
|
|
sourceSets {
|
|
val wasmJsMain by getting {
|
|
dependencies {
|
|
implementation(project(":apps:vbox:client:shared"))
|
|
implementation(project(":apps:vbox:common"))
|
|
implementation(project(":libs:base"))
|
|
implementation(project(":libs:ui"))
|
|
implementation(project(":libs:http-client"))
|
|
implementation(project(":libs:video-player"))
|
|
implementation(project(":libs:updater:updater-client"))
|
|
}
|
|
}
|
|
}
|
|
|
|
wasmJs {
|
|
browser {
|
|
commonWebpackConfig {
|
|
outputFileName = "composeApp.js"
|
|
}
|
|
}
|
|
binaries.executable()
|
|
}
|
|
}
|