diff --git a/README.md b/README.md index dac6e05..d637458 100644 --- a/README.md +++ b/README.md @@ -12,17 +12,17 @@ Kotlin Multiplatform Common (kts): ```kotlin dependencies { - implementation("com.ctrip.flight.mmkv:mmkv-kotlin:1.2.13") + implementation("com.ctrip.flight.mmkv:mmkv-kotlin:1.2.14") } ``` -Current version is based on `Kotlin 1.9.24` and `MMKV 1.3.7`. +Current version is based on `Kotlin 2.0.20` and `MMKV 1.3.9`. Pure Android platform (kts): ```kotlin dependencies { - implementation("com.ctrip.flight.mmkv:mmkv-kotlin-android:1.2.13") + implementation("com.ctrip.flight.mmkv:mmkv-kotlin-android:1.2.14") } ``` @@ -31,10 +31,10 @@ Kotlin/Native on macOS: ```kotlin dependencies { // Intel Chip - implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosx64:1.2.13") + implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosx64:1.2.14") // M1&M2 Chip - implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosarm64:1.2.13") + implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosarm64:1.2.14") } ``` Note, if your project is a Kotlin/Native executable program project of macOS, or it supplies a framework to an iOS application project directly, then you need to manually add the dependency of MMKV, and may need to add `linkerOpts` for MMKV and MMKVCore: @@ -62,7 +62,7 @@ kotlin { cocoapods { // ...... pod(name = "MMKV") { - version = "1.3.7" + version = "1.3.9" moduleName = "MMKV" } } diff --git a/README_CN.md b/README_CN.md index 8ecf215..a561673 100644 --- a/README_CN.md +++ b/README_CN.md @@ -10,17 +10,17 @@ Kotlin Multiplatform Common (kts): ```kotlin dependencies { - implementation("com.ctrip.flight.mmkv:mmkv-kotlin:1.2.13") + implementation("com.ctrip.flight.mmkv:mmkv-kotlin:1.2.14") } ``` -当前版本依赖于 `Kotlin 1.9.24` 以及 `MMKV 1.3.7`。 +当前版本依赖于 `Kotlin 2.0.20` 以及 `MMKV 1.3.9`。 纯 Android 平台(kts): ```kotlin dependencies { - implementation("com.ctrip.flight.mmkv:mmkv-kotlin-android:1.2.13") + implementation("com.ctrip.flight.mmkv:mmkv-kotlin-android:1.2.14") } ``` @@ -29,10 +29,10 @@ Kotlin/Native on macOS: ```kotlin dependencies { // Intel 芯片 - implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosx64:1.2.13") + implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosx64:1.2.14") // M1&M2 芯片 - implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosarm64:1.2.13") + implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosarm64:1.2.14") } ``` 注意,如果你的工程为 macOS 的 Kotlin/Native 可执行程序工程,或者它直接向一个 iOS 应用程序工程提供 framework,那么您需要手动在工程中添加对 MMKV 的依赖,并可能需要添加对 MMKV 及 MMKVCore 的 `linkerOpts`: @@ -60,7 +60,7 @@ kotlin { cocoapods { // ...... pod(name = "MMKV") { - version = "1.3.7" + version = "1.3.9" moduleName = "MMKV" } }