You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
773 B
25 lines
773 B
2 years ago
|
# Libraries for Compose Multiplatform
|
||
|
|
||
|
## Resources
|
||
|
Library to load resources, like images.
|
||
|
|
||
|
### How to run demo project:
|
||
|
*Prerequisites*: to run on iOS and Android, you should have "Kotlin Multiplatform Mobile" plugin installed either
|
||
|
in Android Studio or in AppCode with [installed CocoaPods](https://kotlinlang.org/docs/native-cocoapods.html).
|
||
|
|
||
|
### Run on desktop via Gradle:
|
||
|
`./gradlew :resources:demo:desktopApp:run`
|
||
|
|
||
|
### Run JS in browser with WebAssembly Skia via Gradle:
|
||
|
`./gradlew :resources:demo:shared:jsBrowserDevelopmentRun`
|
||
|
|
||
|
### Run MacOS via Gradle:
|
||
|
- on Intel CPU: `./gradlew :resources:demo:shared:runDebugExecutableMacosX64`
|
||
|
- on Apple Silicon: `./gradlew :resources:demo:shared:runDebugExecutableMacosArm64`
|
||
|
|
||
|
# Tests
|
||
|
Run script:
|
||
|
```bash
|
||
|
./test.sh
|
||
|
```
|