Skip to content

Commit d545073

Browse files
committed
update readme
1 parent 2e4a0e3 commit d545073

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
![moko-resources](img/logo.png)
2-
[![GitHub license](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)](http://www.apache.org/licenses/LICENSE-2.0) [![Download](https://api.bintray.com/packages/icerockdev/moko/moko-resources/images/download.svg) ](https://bintray.com/icerockdev/moko/moko-resources/_latestVersion) ![kotlin-version](https://img.shields.io/badge/kotlin-1.3.71-orange)
2+
[![GitHub license](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)](http://www.apache.org/licenses/LICENSE-2.0) [![Download](https://api.bintray.com/packages/icerockdev/moko/moko-resources/images/download.svg) ](https://bintray.com/icerockdev/moko/moko-resources/_latestVersion) ![kotlin-version](https://img.shields.io/badge/kotlin-1.3.72-orange)
33

44
# Mobile Kotlin resources
55
This is a Kotlin MultiPlatform library that provides access to the resources on iOS & Android with the support of the default system localization.
@@ -16,7 +16,7 @@ This is a Kotlin MultiPlatform library that provides access to the resources on
1616
- [License](#license)
1717

1818
## Features
19-
- **Strings, Plurals, Images** to access the corresponding resources from common code;
19+
- **Strings, Plurals, Images, Fonts, Files** to access the corresponding resources from common code;
2020
- **StringDesc** for lifecycle-aware access to resources and unified localization on both platforms.
2121

2222
## Requirements
@@ -42,6 +42,8 @@ This is a Kotlin MultiPlatform library that provides access to the resources on
4242
- 0.9.0
4343
- kotlin 1.3.71
4444
- 0.9.1
45+
- kotlin 1.3.72
46+
- 0.10.0
4547

4648
## Installation
4749
root build.gradle
@@ -52,7 +54,7 @@ buildscript {
5254
}
5355
5456
dependencies {
55-
classpath "dev.icerock.moko:resources-generator:0.9.1"
57+
classpath "dev.icerock.moko:resources-generator:0.10.0"
5658
}
5759
}
5860
@@ -69,7 +71,7 @@ project build.gradle
6971
apply plugin: "dev.icerock.mobile.multiplatform-resources"
7072
7173
dependencies {
72-
commonMainApi("dev.icerock.moko:resources:0.9.1")
74+
commonMainApi("dev.icerock.moko:resources:0.10.0")
7375
}
7476
7577
multiplatformResources {
@@ -288,8 +290,7 @@ Please see more examples in the [sample directory](sample).
288290
- The [resources directory](resources) contains the `resources` library;
289291
- The [gradle-plugin directory](gradle-plugin) contains a gradle plugin with a `MR` class generator;
290292
- The [sample directory](sample) contains sample apps for Android and iOS; plus the mpp-library connected to the apps;
291-
- For local testing a library use the `:resources:publishToMavenLocal` gradle task - so that sample apps use the locally published version.
292-
- For local testing a plugin use the `:gradle-plugin:publishToMavenLocal` gradle task so that sample apps will use the locally published version.
293+
- For local testing use the `./publishToMavenLocal.sh` script - so that sample apps use the locally published version.
293294

294295
## Contributing
295296
All development (both new features and bug fixes) is performed in the `develop` branch. This way `master` always contains the sources of the most recently released version. Please send PRs with bug fixes to the `develop` branch. Documentation fixes in the markdown files are an exception to this rule. They are updated directly in `master`.

0 commit comments

Comments
 (0)