Release 0.10.0
·
1208 commits
to master
since this release
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