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.
 
 
 
 
Konstantin f0c1094dc4
[resources] Support SVG drawables for non android platforms (#4605)
1 month ago
..
AnimatedImage Update dependency versions and refactor build configs (#4215) 4 months ago
SplitPane Support Rtl in SplitPane (#4265) 3 months ago
buildSrc Support plural string resource (#4519) 2 months ago
gradle Use coroutines 1.7.3 for desktop and native. But use 1.8.0-RC2 for web targets (#4244) 3 months ago
resources [resources] Support SVG drawables for non android platforms (#4605) 1 month ago
ui-tooling-preview Added WASM to components.uiToolingPreview library (#4286) 3 months ago
.gitignore [components/resources] add resource("img.png"). rememberImageBitmap() (#2483) 2 years ago
README.md [components/resources] add resource("img.png"). rememberImageBitmap() (#2483) 2 years ago
build.gradle.kts Update Kotlin, dependencies and build scripts (#3835) 7 months ago
gradle.properties [resources] Support SVG drawables for non android platforms (#4605) 1 month ago
gradlew Custom components template. (#206) 3 years ago
gradlew.bat Custom components template. (#206) 3 years ago
settings.gradle.kts Revert "Rename components library modules. (#3991)" 6 months ago
test.sh Fix native xml parser and add ios native tests (#4207) 4 months ago

README.md

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.

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:

./test.sh