Skip to content

Commit

Permalink
Update Kotlin's version to 2.0.20
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaoyuang committed Aug 30, 2024
1 parent 1ed9cb8 commit 59755e9
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 11 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

- Date format: YYYY-MM-dd

## v1.2.14/ 2024-xx-xx
## v1.2.14/ 2024-08-24

Fixed the function `MMKV_KMP.withOpen`
* Fixed the function `MMKV_KMP.withOpen`
* Based on `Kotlin 2.0.20`, `MMKV 1.3.9`

## v1.2.13 / 2024-07-16

Expand Down
8 changes: 4 additions & 4 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[versions]

kotlin = "1.9.24"
agp = "8.5.1"
mmkv = "1.3.7"
kotlin = "2.0.20"
agp = "8.5.2"
mmkv = "1.3.9"
junit = "4.13.2"
androidx-test = "1.6.1"
androidx-test = "1.6.2"

[libraries]

Expand Down
12 changes: 8 additions & 4 deletions mmkv-kotlin/MMKV_Kotlin.podspec
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
Pod::Spec.new do |spec|
spec.name = 'mmkv_kotlin'
spec.version = '1.2.13'
spec.version = '1.2.14'
spec.homepage = 'Link to the Shared Module homepage'
spec.source = { :http=> ''}
spec.authors = ''
spec.license = ''
spec.summary = 'Some description for the Shared Module'
spec.vendored_frameworks = 'build/cocoapods/framework/MMKV_Kotlin.framework'
spec.libraries = 'c++'
spec.ios.deployment_target = '17.5.1'
spec.osx.deployment_target = '14.4.1'
spec.dependency 'MMKV', '1.3.7'
spec.ios.deployment_target = '17.5.1'
spec.osx.deployment_target = '14.4.1'
spec.dependency 'MMKV', '1.3.9'

if !Dir.exist?('build/cocoapods/framework/MMKV_Kotlin.framework') || Dir.empty?('build/cocoapods/framework/MMKV_Kotlin.framework')
raise "
Expand All @@ -23,6 +23,10 @@ Pod::Spec.new do |spec|
Alternatively, proper pod installation is performed during Gradle sync in the IDE (if Podfile location is set)"
end

spec.xcconfig = {
'ENABLE_USER_SCRIPT_SANDBOXING' => 'NO',
}

spec.pod_target_xcconfig = {
'KOTLIN_PROJECT_PATH' => ':mmkv-kotlin',
'PRODUCT_MODULE_NAME' => 'MMKV_Kotlin',
Expand Down
2 changes: 1 addition & 1 deletion mmkv-kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ plugins {
signing
}

version = "1.2.13"
version = "1.2.14"
group = "com.ctrip.flight.mmkv"

@OptIn(ExperimentalKotlinGradlePluginApi::class)
Expand Down

0 comments on commit 59755e9

Please sign in to comment.