Skip to content

Commit 2459a96

Browse files
authored
Merge pull request #43 from qiaoyuang/main
Update version to 1.2.17
2 parents e9e5017 + 7bfa947 commit 2459a96

File tree

7 files changed

+28
-24
lines changed

7 files changed

+28
-24
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
- Date format: YYYY-MM-dd
44

5+
## v1.2.17/ 2025-04-23
6+
7+
* Based on `Kotlin 2.1.20`, `MMKV 2.1.0`
8+
59
## v1.2.16/ 2025-02-06
610

711
* Based on `Kotlin 2.1.10`, `MMKV 2.0.2`

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ Kotlin Multiplatform Common (kts):
1212

1313
```kotlin
1414
dependencies {
15-
implementation("com.ctrip.flight.mmkv:mmkv-kotlin:1.2.16")
15+
implementation("com.ctrip.flight.mmkv:mmkv-kotlin:1.2.17")
1616
}
1717
```
1818

19-
Current version is based on `Kotlin 2.1.10` and `MMKV 2.0.2`.
19+
Current version is based on `Kotlin 2.1.20` and `MMKV 2.1.0`.
2020

2121
Pure Android platform (kts):
2222

2323
```kotlin
2424
dependencies {
25-
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-android:1.2.16")
25+
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-android:1.2.17")
2626
}
2727
```
2828

@@ -31,10 +31,10 @@ Kotlin/Native on macOS:
3131
```kotlin
3232
dependencies {
3333
// Intel Chip
34-
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosx64:1.2.16")
34+
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosx64:1.2.17")
3535

36-
// M1&M2 Chip
37-
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosarm64:1.2.16")
36+
// Apple Silicon
37+
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosarm64:1.2.17")
3838
}
3939
```
4040
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 {
6262
cocoapods {
6363
// ......
6464
pod(name = "MMKV") {
65-
version = "2.0.2"
65+
version = "2.1.0"
6666
moduleName = "MMKV"
6767
}
6868
}

README_CN.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@ Kotlin Multiplatform Common (kts):
1010

1111
```kotlin
1212
dependencies {
13-
implementation("com.ctrip.flight.mmkv:mmkv-kotlin:1.2.16")
13+
implementation("com.ctrip.flight.mmkv:mmkv-kotlin:1.2.17")
1414
}
1515
```
1616

17-
当前版本依赖于 `Kotlin 2.1.10` 以及 `MMKV 2.0.2`
17+
当前版本依赖于 `Kotlin 2.1.20` 以及 `MMKV 2.1.0`
1818

1919
纯 Android 平台(kts):
2020

2121
```kotlin
2222
dependencies {
23-
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-android:1.2.16")
23+
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-android:1.2.17")
2424
}
2525
```
2626

@@ -29,10 +29,10 @@ Kotlin/Native on macOS:
2929
```kotlin
3030
dependencies {
3131
// Intel 芯片
32-
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosx64:1.2.16")
32+
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosx64:1.2.17")
3333

34-
// M1&M2 芯片
35-
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosarm64:1.2.16")
34+
// Apple Silicon
35+
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosarm64:1.2.17")
3636
}
3737
```
3838
注意,如果你的工程为 macOS 的 Kotlin/Native 可执行程序工程,或者它直接向一个 iOS 应用程序工程提供 framework,那么您需要手动在工程中添加对 MMKV 的依赖,并可能需要添加对 MMKV 及 MMKVCore 的 `linkerOpts`
@@ -60,7 +60,7 @@ kotlin {
6060
cocoapods {
6161
// ......
6262
pod(name = "MMKV") {
63-
version = "2.0.2"
63+
version = "2.1.0"
6464
moduleName = "MMKV"
6565
}
6666
}

gradle/libs.versions.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[versions]
22

3-
kotlin = "2.1.10"
4-
agp = "8.7.3"
5-
mmkv = "2.0.2"
3+
kotlin = "2.1.20"
4+
agp = "8.9.2"
5+
mmkv = "2.1.0"
66
junit = "4.13.2"
77
androidx-test = "1.6.1"
88
androidx-test-runner = "1.6.2"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Tue Feb 22 11:03:04 CST 2022
22
distributionBase=GRADLE_USER_HOME
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
44
distributionPath=wrapper/dists
55
zipStorePath=wrapper/dists
66
zipStoreBase=GRADLE_USER_HOME

mmkv-kotlin/MMKV_Kotlin.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ Pod::Spec.new do |spec|
88
spec.summary = 'Some description for the Shared Module'
99
spec.vendored_frameworks = 'build/cocoapods/framework/MMKV_Kotlin.framework'
1010
spec.libraries = 'c++'
11-
spec.ios.deployment_target = '18.1.1'
12-
spec.osx.deployment_target = '15.1.1'
13-
spec.dependency 'MMKV', '2.0.2'
11+
spec.ios.deployment_target = '18.4'
12+
spec.osx.deployment_target = '15.4'
13+
spec.dependency 'MMKV', '2.1.0'
1414

1515
if !Dir.exist?('build/cocoapods/framework/MMKV_Kotlin.framework') || Dir.empty?('build/cocoapods/framework/MMKV_Kotlin.framework')
1616
raise "

mmkv-kotlin/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ plugins {
1010
signing
1111
}
1212

13-
version = "1.2.16"
13+
version = "1.2.17"
1414
group = "com.ctrip.flight.mmkv"
1515

1616
@OptIn(ExperimentalKotlinGradlePluginApi::class)
@@ -32,8 +32,8 @@ kotlin {
3232
cocoapods {
3333
summary = "Some description for the Shared Module"
3434
homepage = "Link to the Shared Module homepage"
35-
ios.deploymentTarget = "18.1.1"
36-
osx.deploymentTarget = "15.1.1"
35+
ios.deploymentTarget = "18.4"
36+
osx.deploymentTarget = "15.4"
3737
framework {
3838
baseName = "MMKV-Kotlin"
3939
isStatic = true

0 commit comments

Comments
 (0)