From 5cc2291cef32c2b0b28a32ef626a92bb83a53732 Mon Sep 17 00:00:00 2001 From: rbelousov Date: Wed, 21 Aug 2024 00:15:11 +0700 Subject: [PATCH 1/2] Removed legacy ThreadLocal annotation on StringDesc's companion object --- .../kotlin/dev/icerock/moko/resources/desc/StringDesc.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/resources/src/appleMain/kotlin/dev/icerock/moko/resources/desc/StringDesc.kt b/resources/src/appleMain/kotlin/dev/icerock/moko/resources/desc/StringDesc.kt index 8f87793c..3d9f1fa0 100644 --- a/resources/src/appleMain/kotlin/dev/icerock/moko/resources/desc/StringDesc.kt +++ b/resources/src/appleMain/kotlin/dev/icerock/moko/resources/desc/StringDesc.kt @@ -57,7 +57,6 @@ actual interface StringDesc { abstract val locale: NSLocale } - @ThreadLocal actual companion object { actual var localeType: LocaleType = LocaleType.System } From 97434934cbdab6a07dc32bb70cb2f78d76cd3097 Mon Sep 17 00:00:00 2001 From: Aleksey Mikhailov Date: Thu, 22 Aug 2024 19:51:46 +0700 Subject: [PATCH 2/2] up version --- README.md | 10 +++++----- gradle/moko.versions.toml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b87da812..3480d0a8 100755 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ buildscript { } dependencies { - classpath "dev.icerock.moko:resources-generator:0.24.1" + classpath "dev.icerock.moko:resources-generator:0.24.2" } } @@ -82,10 +82,10 @@ project build.gradle apply plugin: "dev.icerock.mobile.multiplatform-resources" dependencies { - commonMainApi("dev.icerock.moko:resources:0.24.1") - commonMainApi("dev.icerock.moko:resources-compose:0.24.1") // for compose multiplatform + commonMainApi("dev.icerock.moko:resources:0.24.2") + commonMainApi("dev.icerock.moko:resources-compose:0.24.2") // for compose multiplatform - commonTestImplementation("dev.icerock.moko:resources-test:0.24.1") + commonTestImplementation("dev.icerock.moko:resources-test:0.24.2") } multiplatformResources { @@ -132,7 +132,7 @@ should [add `export` declarations](https://kotlinlang.org/docs/multiplatform-bui ``` framework { - export("dev.icerock.moko:resources:0.24.1") + export("dev.icerock.moko:resources:0.24.2") export("dev.icerock.moko:graphics:0.9.0") // toUIColor here } ``` diff --git a/gradle/moko.versions.toml b/gradle/moko.versions.toml index 5100d3a2..7f31400a 100644 --- a/gradle/moko.versions.toml +++ b/gradle/moko.versions.toml @@ -1,5 +1,5 @@ [versions] -resourcesVersion = "0.24.1" +resourcesVersion = "0.24.2" [libraries] resources = { module = "dev.icerock.moko:resources", version.ref = "resourcesVersion" }