d462f98e05
- Network Layer - Shared Foundation - Service Layer and API Integration - Test-Fix und Development Screen - WASM-Js Test-Implementation - Build-Konfiguration reparieren
52 lines
1.2 KiB
Kotlin
52 lines
1.2 KiB
Kotlin
plugins {
|
|
alias(libs.plugins.kotlinMultiplatform)
|
|
alias(libs.plugins.composeMultiplatform)
|
|
alias(libs.plugins.composeCompiler)
|
|
alias(libs.plugins.kotlinSerialization)
|
|
}
|
|
|
|
kotlin {
|
|
jvmToolchain(21)
|
|
|
|
jvm()
|
|
js(IR) {
|
|
browser()
|
|
nodejs()
|
|
}
|
|
@OptIn(org.jetbrains.kotlin.gradle.ExperimentalWasmDsl::class)
|
|
wasmJs {
|
|
browser()
|
|
}
|
|
|
|
sourceSets {
|
|
commonMain.dependencies {
|
|
// Shared module dependency
|
|
implementation(project(":clients:shared"))
|
|
|
|
// Compose dependencies
|
|
implementation(compose.runtime)
|
|
implementation(compose.foundation)
|
|
implementation(compose.material3)
|
|
implementation(compose.ui)
|
|
implementation(compose.components.resources)
|
|
|
|
// Coroutines
|
|
implementation(libs.kotlinx.coroutines.core)
|
|
|
|
// Serialization
|
|
implementation(libs.kotlinx.serialization.json)
|
|
|
|
// DateTime
|
|
implementation(libs.kotlinx.datetime)
|
|
}
|
|
|
|
jsMain.dependencies {
|
|
// JS-specific UI dependencies if needed
|
|
}
|
|
|
|
jvmMain.dependencies {
|
|
// JVM-specific UI dependencies if needed
|
|
}
|
|
}
|
|
}
|