Deleted obsolete files and models from the `ping-feature` module, including redundant enums, the old `PingApiClient`, and legacy view models. Simplified the module by consolidating its implementation with the new Koin-based DI and shared client architecture. Cleaned up unused code and improved module maintainability.
41 lines
935 B
Plaintext
41 lines
935 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 {
|
|
api(projects.core.coreDomain) // Changed from implementation to api to export Syncable
|
|
implementation(libs.kotlinx.serialization.json)
|
|
}
|
|
}
|
|
commonTest {
|
|
dependencies {
|
|
implementation(libs.kotlin.test)
|
|
}
|
|
}
|
|
}
|
|
}
|