diff --git a/CHANGELOG.md b/CHANGELOG.md index 0fef741..7489a30 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ - Date format: YYYY-MM-dd +## v1.2.11 / 2024-01-08 + +* Update Kotlin version to `1.9.22` + ## v1.2.10 / 2023-11-28 * Update Kotlin version to `1.9.21` for fixing this [issue](https://youtrack.jetbrains.com/issue/KT-62515) diff --git a/README.md b/README.md index 6d8a351..a101f76 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.10") + implementation("com.ctrip.flight.mmkv:mmkv-kotlin:1.2.11") } ``` -Current version based on `Kotlin 1.9.21` and `MMKV 1.3.2`. +Current version based on `Kotlin 1.9.22` and `MMKV 1.3.2`. Pure Android platform (kts): ```kotlin dependencies { - implementation("com.ctrip.flight.mmkv:mmkv-kotlin-android:1.2.10") + implementation("com.ctrip.flight.mmkv:mmkv-kotlin-android:1.2.11") } ``` @@ -31,10 +31,10 @@ Kotlin/Native on macOS: ```kotlin dependencies { // Intel Chip - implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosx64:1.2.10") + implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosx64:1.2.11") // M1&M2 Chip - implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosarm64:1.2.10") + implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosarm64:1.2.11") } ``` Note, if your project is a Kotlin/Native executable program project of macOS or it supply a framework to a iOS application project directly, then you need to manually add dependency on MMKV, and may need add `linkerOpts` on MMKV and MMKVCore: @@ -62,7 +62,7 @@ kotlin { cocoapods { // ...... pod(name = "MMKV") { - version = "1.2.16" + version = "1.3.2" moduleName = "MMKV" } } diff --git a/README_CN.md b/README_CN.md index dea9192..10282c8 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.10") + implementation("com.ctrip.flight.mmkv:mmkv-kotlin:1.2.11") } ``` -当前版本依赖于 `Kotlin 1.9.21` 以及 `MMKV 1.3.2`。 +当前版本依赖于 `Kotlin 1.9.22` 以及 `MMKV 1.3.2`。 纯 Android 平台(kts): ```kotlin dependencies { - implementation("com.ctrip.flight.mmkv:mmkv-kotlin-android:1.2.10") + implementation("com.ctrip.flight.mmkv:mmkv-kotlin-android:1.2.11") } ``` @@ -29,10 +29,10 @@ Kotlin/Native on macOS: ```kotlin dependencies { // Intel 芯片 - implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosx64:1.2.10") + implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosx64:1.2.11") // M1&M2 芯片 - implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosarm64:1.2.10") + implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosarm64:1.2.11") } ``` 注意,如果你的工程为 macOS 的 Kotlin/Native 可执行程序工程,或者它直接向一个 iOS 应用程序工程提供 framework,那么您需要手动在工程中添加对 MMKV 的依赖,并可能需要添加对 MMKV 及 MMKVCore 的 `linkerOpts`: @@ -60,7 +60,7 @@ kotlin { cocoapods { // ...... pod(name = "MMKV") { - version = "1.2.16" + version = "1.3.2" moduleName = "MMKV" } } diff --git a/build.gradle.kts b/build.gradle.kts index e4581c9..c73d3c3 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -5,8 +5,8 @@ buildscript { mavenCentral() } dependencies { - classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.21") - classpath("com.android.tools.build:gradle:8.1.4") + classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.22") + classpath("com.android.tools.build:gradle:8.2.1") } } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index c2a87d6..add47bc 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ #Tue Feb 22 11:03:04 CST 2022 distributionBase=GRADLE_USER_HOME -distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip distributionPath=wrapper/dists zipStorePath=wrapper/dists zipStoreBase=GRADLE_USER_HOME diff --git a/mmkv-kotlin/MMKV_Kotlin.podspec b/mmkv-kotlin/MMKV_Kotlin.podspec index 553900d..d568b6d 100644 --- a/mmkv-kotlin/MMKV_Kotlin.podspec +++ b/mmkv-kotlin/MMKV_Kotlin.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |spec| spec.name = 'mmkv_kotlin' - spec.version = '1.2.10' + spec.version = '1.2.11' spec.homepage = 'Link to the Shared Module homepage' spec.source = { :http=> ''} spec.authors = '' diff --git a/mmkv-kotlin/build.gradle.kts b/mmkv-kotlin/build.gradle.kts index 360873e..ab23c21 100644 --- a/mmkv-kotlin/build.gradle.kts +++ b/mmkv-kotlin/build.gradle.kts @@ -10,7 +10,7 @@ plugins { signing } -version = "1.2.10" +version = "1.2.11" group = "com.ctrip.flight.mmkv" val mmkvVersion = "1.3.2"