Skip to content

Commit

Permalink
Merge pull request #38 from qiaoyuang/main
Browse files Browse the repository at this point in the history
Fix READMEs
  • Loading branch information
qiaoyuang authored Jul 16, 2024
2 parents 3d46f61 + 06dd282 commit 54edca6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ Kotlin Multiplatform Common (kts):

```kotlin
dependencies {
implementation("com.ctrip.flight.mmkv:mmkv-kotlin:1.2.12")
implementation("com.ctrip.flight.mmkv:mmkv-kotlin:1.2.13")
}
```

Current version is based on `Kotlin 1.9.23` and `MMKV 1.3.5`.
Current version is based on `Kotlin 1.9.24` and `MMKV 1.3.7`.

Pure Android platform (kts):

```kotlin
dependencies {
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-android:1.2.12")
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-android:1.2.13")
}
```

Expand All @@ -31,10 +31,10 @@ Kotlin/Native on macOS:
```kotlin
dependencies {
// Intel Chip
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosx64:1.2.12")
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosx64:1.2.13")

// M1&M2 Chip
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosarm64:1.2.12")
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosarm64:1.2.13")
}
```
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:
Expand Down Expand Up @@ -62,7 +62,7 @@ kotlin {
cocoapods {
// ......
pod(name = "MMKV") {
version = "1.3.5"
version = "1.3.7"
moduleName = "MMKV"
}
}
Expand Down
12 changes: 6 additions & 6 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ Kotlin Multiplatform Common (kts):

```kotlin
dependencies {
implementation("com.ctrip.flight.mmkv:mmkv-kotlin:1.2.12")
implementation("com.ctrip.flight.mmkv:mmkv-kotlin:1.2.13")
}
```

当前版本依赖于 `Kotlin 1.9.23` 以及 `MMKV 1.3.5`
当前版本依赖于 `Kotlin 1.9.24` 以及 `MMKV 1.3.7`

纯 Android 平台(kts):

```kotlin
dependencies {
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-android:1.2.12")
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-android:1.2.13")
}
```

Expand All @@ -29,10 +29,10 @@ Kotlin/Native on macOS:
```kotlin
dependencies {
// Intel 芯片
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosx64:1.2.12")
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosx64:1.2.13")

// M1&M2 芯片
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosarm64:1.2.12")
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosarm64:1.2.13")
}
```
注意,如果你的工程为 macOS 的 Kotlin/Native 可执行程序工程,或者它直接向一个 iOS 应用程序工程提供 framework,那么您需要手动在工程中添加对 MMKV 的依赖,并可能需要添加对 MMKV 及 MMKVCore 的 `linkerOpts`
Expand Down Expand Up @@ -60,7 +60,7 @@ kotlin {
cocoapods {
// ......
pod(name = "MMKV") {
version = "1.3.5"
version = "1.3.7"
moduleName = "MMKV"
}
}
Expand Down

0 comments on commit 54edca6

Please sign in to comment.