Injected `PingViewModel` via Koin to align with dependency injection best practices. Suppressed Gradle deprecation warnings and added the `frontend.core.sync` dependency. Cleaned up outdated packages in `yarn.lock`.
41 lines
889 B
Plaintext
41 lines
889 B
Plaintext
plugins {
|
|
alias(libs.plugins.kotlinMultiplatform)
|
|
alias(libs.plugins.kotlinSerialization)
|
|
}
|
|
|
|
group = "at.mocode"
|
|
version = "1.0.0"
|
|
|
|
kotlin {
|
|
// Toolchain is now handled centrally in the root build.gradle.kts
|
|
|
|
// JVM target for backend usage
|
|
jvm()
|
|
|
|
// JS target for frontend usage (Compose/Browser)
|
|
js {
|
|
browser()
|
|
// no need for binaries.executable() in a library
|
|
}
|
|
|
|
// Wasm enabled by default
|
|
@OptIn(org.jetbrains.kotlin.gradle.ExperimentalWasmDsl::class)
|
|
wasmJs {
|
|
browser()
|
|
}
|
|
|
|
sourceSets {
|
|
commonMain {
|
|
dependencies {
|
|
implementation(projects.core.coreDomain)
|
|
implementation(libs.kotlinx.serialization.json)
|
|
}
|
|
}
|
|
commonTest {
|
|
dependencies {
|
|
implementation(libs.kotlin.test)
|
|
}
|
|
}
|
|
}
|
|
}
|