Skip to content

Commit f00aba7

Browse files
authored
Merge pull request #53 from qiaoyuang/develop
Fix README
2 parents b75e3f1 + 2d9f9a7 commit f00aba7

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build & Test & Publish
1+
name: Build & Publish
22

33
on:
44
workflow_dispatch:

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ MMKV-Kotlin is a porting of [MMKV](https://github.com/Tencent/MMKV) to Kotlin Mu
1212

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

19-
Current version is based on `Kotlin 2.2.0` and `MMKV 2.2.2`.
19+
Current version is based on `Kotlin 2.2.0` and `MMKV 2.2.3`.
2020

2121
**Kotlin Multiplatform for iOS/macOS applications:**
2222

@@ -27,7 +27,7 @@ consumed by an Xcode project. You need to install [MMKV](https://github.com/Tenc
2727

2828
```kotlin
2929
dependencies {
30-
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-android:1.2.18")
30+
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-android:1.3.0")
3131
}
3232
```
3333

@@ -36,10 +36,10 @@ dependencies {
3636
```kotlin
3737
dependencies {
3838
// Intel Chip
39-
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosx64:1.2.18")
39+
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosx64:1.3.0")
4040

4141
// Apple Silicon
42-
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosarm64:1.2.18")
42+
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosarm64:1.3.0")
4343
}
4444
```
4545
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:
@@ -67,7 +67,7 @@ kotlin {
6767
cocoapods {
6868
// ......
6969
pod(name = "MMKV") {
70-
version = "2.2.2"
70+
version = "2.2.3"
7171
moduleName = "MMKV"
7272
}
7373
}

README_CN.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ MMKV-Kotlin 是对 [MMKV](https://github.com/Tencent/MMKV) 到 Kotlin Multiplatf
1010

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

@@ -25,7 +25,7 @@ dependencies {
2525

2626
```kotlin
2727
dependencies {
28-
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-android:1.2.18")
28+
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-android:1.3.0")
2929
}
3030
```
3131

@@ -34,10 +34,10 @@ dependencies {
3434
```kotlin
3535
dependencies {
3636
// Intel 芯片
37-
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosx64:1.2.18")
37+
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosx64:1.3.0")
3838

3939
// Apple Silicon
40-
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosarm64:1.2.18")
40+
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosarm64:1.3.0")
4141
}
4242
```
4343
注意,如果你的工程为 macOS 的 Kotlin/Native 可执行程序工程,或者它直接向一个 iOS 应用程序工程提供 framework,那么您需要手动在工程中添加对 MMKV 的依赖,并可能需要添加对 MMKV 及 MMKVCore 的 `linkerOpts`
@@ -65,7 +65,7 @@ kotlin {
6565
cocoapods {
6666
// ......
6767
pod(name = "MMKV") {
68-
version = "2.2.2"
68+
version = "2.2.3"
6969
moduleName = "MMKV"
7070
}
7171
}

0 commit comments

Comments
 (0)