Releases: icerockdev/moko-resources
Releases · icerockdev/moko-resources
Release 0.13.1
Changes
- fix dependency of
compileCommonMainKotlinMetadata
togenerateMRcommon
Release 0.13.0
Changes
- Kotlin 1.4.0
- project configuration with
dependencySubstitution
andincludeBuild
Release 0.12.0
Release 0.11.1
fix ios bundle
copy to output framework
with async configuration of gradle
fix ios bundle
search in runtime (now search done not only in Frameworks but in all application directory (all bundle files search)
Release 0.11.0
Release 0.10.1
Changes
- Fixed generation task work in non-osx systems (#73)
- New gradle task for fat-framework creation with bundles was created (#75)
- Fixed equals function of StringDesc (#78, thanks to @dalewking )
Release 0.10.0
Changes
- #18 resources on ios now available with static framework
- #58 fix generation of
actual
implementations with different sourcesets configs - #48 nested modules now can have resources and it will work on both platforms
- #44 added
FileResource
for any format files passed intoresources/MR/files
- on android it will beraw
resource, on iOS - just file in bundle - #50 project updated to gradle 6.3
- #59 added support of multiple strings.xml / plurals.xml
- #60 fix camelCase in android non filebased resources
- #61 now
export
not required for iOS - #62
StringDesc
now interface and can be extended from outside of library
Migration
StringDesc
now not sealed class, so we should import extension functions, which create required implementation. To migrate do:
- autoreplace
import dev.icerock.moko.resources.desc.StringDesc
toimport dev.icerock.moko.resources.desc.*
- 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
Release 0.9.1
Release 0.9.0
Release 0.8.0
- #39 add
Parcelable
to resources and part ofStringDesc
- #37 fix
StringDesc
argument inStringDesc
format string (thx to @DevTchernov )