mirror of
https://github.com/Tencent/MMKV.git
synced 2026-10-17 04:30:56 +08:00
e197236714
KMP module at KMP/ exposes a Kotlin-idiomatic API in commonMain (com.tencent.mmkv.kmp), with platform-specific implementations: - androidMain: delegates to the existing com.tencent:mmkv Java library - darwinMain: uses Kotlin/Native ObjC interop with the MMKV CocoaPod Includes a Compose Multiplatform sample app (KMP/sample/) that demonstrates MMKV initialization, encode/decode for all primitive types, named instances, and key management on both Android and iOS.
9 lines
360 B
Kotlin
9 lines
360 B
Kotlin
plugins {
|
|
kotlin("multiplatform") version "2.2.20" apply false
|
|
kotlin("plugin.compose") version "2.2.20" apply false
|
|
kotlin("android") version "2.2.20" apply false
|
|
id("com.android.library") version "8.13.1" apply false
|
|
id("com.android.application") version "8.13.1" apply false
|
|
id("org.jetbrains.compose") version "1.8.1" apply false
|
|
}
|