Skip to content

Commit

Permalink
Update version to 1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaoyuang committed Aug 27, 2022
1 parent 8158fe1 commit 6fce86b
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 17 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# MMKV-Kotlin Change Log

## v1.2.2/2022-8-25

* Update MMKV version
* Based on `MMKV 1.2.14`

## v1.2.1/2022-7-17

* Update Kotlin Version
Expand Down
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.1")
implementation("com.ctrip.flight.mmkv:mmkv-kotlin:1.2.2")
}
```

Current version based on `Kotlin 1.7.10` and `MMKV 1.2.13`.
Current version based on `Kotlin 1.7.10` and `MMKV 1.2.14`.

Pure Android platform (kts):

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

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

// M1&M2 Chip
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosarm64:1.2.1")
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosarm64:1.2.2")
}
```
Note, if you want to import MMKV-Kotlin to your Kotlin/Native executable project that target is macOS, you need to manually add dependency on MMKV, and add `linkerOpts` on MMKV and MMKVCore:
Expand Down Expand Up @@ -62,7 +62,7 @@ kotlin {
cocoapods {
// ......
pod(name = "MMKV") {
version = "1.2.13"
version = "1.2.14"
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.1")
implementation("com.ctrip.flight.mmkv:mmkv-kotlin:1.2.2")
}
```

当前版本依赖于 `Kotlin 1.7.10` 以及 `MMKV 1.2.13`
当前版本依赖于 `Kotlin 1.7.10` 以及 `MMKV 1.2.14`

纯 Android 平台(kts):

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

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

// M1&M2 芯片
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosarm64:1.2.1")
implementation("com.ctrip.flight.mmkv:mmkv-kotlin-macosarm64:1.2.2")
}
```
注意,如果您在目标平台为 macOS 的 Kotlin/Native 可执行程序工程中导入 MMKV-Kotlin,您需要手动在工程中添加对 MMKV 的依赖,并添加对 MMKV 及 MMKVCore 的 `linkerOpts`
Expand Down Expand Up @@ -60,7 +60,7 @@ kotlin {
cocoapods {
// ......
pod(name = "MMKV") {
version = "1.2.13"
version = "1.2.14"
moduleName = "MMKV"
}
}
Expand Down
4 changes: 2 additions & 2 deletions mmkv-kotlin/MMKV_Kotlin.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = 'mmkv_kotlin'
spec.version = '1.2.1'
spec.version = '1.2.2'
spec.homepage = 'Link to the Shared Module homepage'
spec.source = { :http=> ''}
spec.authors = ''
Expand All @@ -10,7 +10,7 @@ Pod::Spec.new do |spec|
spec.libraries = 'c++'
spec.ios.deployment_target = '14.1'
spec.osx.deployment_target = '12.2.1'
spec.dependency 'MMKV', '1.2.13'
spec.dependency 'MMKV', '1.2.14'

spec.pod_target_xcconfig = {
'KOTLIN_PROJECT_PATH' => ':mmkv-kotlin',
Expand Down
6 changes: 3 additions & 3 deletions mmkv-kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {
signing
}

version = "1.2.1"
version = "1.2.2"
group = "com.ctrip.flight.mmkv"

val NEXUS_USERNAME: String by project
Expand Down Expand Up @@ -49,7 +49,7 @@ kotlin {
}
pod(
name = "MMKV",
version = "1.2.13",
version = "1.2.14",
)
}

Expand All @@ -65,7 +65,7 @@ kotlin {
}
val androidMain by getting {
dependencies {
api("com.tencent:mmkv-static:1.2.13")
api("com.tencent:mmkv-static:1.2.14")
}
}
val androidTest by getting {
Expand Down

0 comments on commit 6fce86b

Please sign in to comment.