Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.10.0 #72

Merged
merged 67 commits into from
May 5, 2020
Merged

Release 0.10.0 #72

merged 67 commits into from
May 5, 2020

Conversation

Alex009
Copy link
Member

@Alex009 Alex009 commented May 5, 2020

Changes

Migration

StringDesc now not sealed class, so we should import extension functions, which create required implementation. To migrate do:

  1. autoreplace import dev.icerock.moko.resources.desc.StringDesc to import dev.icerock.moko.resources.desc.*
  2. optimize imports (to remove duplicates and star import)

On android for strings and plurals now allowed camelCase name generation, so if you use generated android resources (not MR but R class) and you name resources in camelCase now keys in R will be with camelCase, not lowercase.

StringDesc. LocaleType.System now objects, not class, so use autoreplace LocaleType.System() to LocaleType.System

Alex009 and others added 30 commits December 27, 2019 12:25
Alex009 and others added 22 commits May 4, 2020 11:37
multiple string/plural files in resources
#60 enable anycase keys in strings and plurals on android
# Conflicts:
#	gradle-plugin/src/main/kotlin/dev/icerock/gradle/generator/PluralsGenerator.kt
#	gradle-plugin/src/main/kotlin/dev/icerock/gradle/generator/StringsGenerator.kt
# Conflicts:
#	sample/mpp-library/src/commonMain/kotlin/com/icerockdev/library/Testing.kt
@Alex009 Alex009 added this to the 0.10.0 milestone May 5, 2020
@Alex009 Alex009 self-assigned this May 5, 2020
buildSrc/build.gradle.kts Outdated Show resolved Hide resolved
buildSrc/src/main/kotlin/PluginDesc.kt Show resolved Hide resolved
gradle-plugin/build.gradle.kts Outdated Show resolved Hide resolved
@Alex009 Alex009 marked this pull request as ready for review May 5, 2020 12:57
@Alex009 Alex009 merged commit 74b4dc3 into master May 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant