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.
 
 
 
 
Oleksandr.Karpovich 70b8c44d32 Update kotlin version in examples (#4844) 6 months ago
..
.run Move experimental/examples to examples (#2976) 2 years ago
androidApp Update kotlin version in examples (#4844) 6 months ago
desktopApp Update kotlin version in examples (#4844) 6 months ago
gradle/wrapper Migrate all samples to the new resources library (#4386) 9 months ago
iosApp COMPOSE-356 Support light theme for codeviewer example (#3853) 1 year ago
screenshots Update README.md for Code Viewer example (#2989) 2 years ago
shared Update kotlin version in examples (#4844) 6 months ago
.gitignore Move experimental/examples to examples (#2976) 2 years ago
README.md Update link to setup environment instructions (#4344) 9 months ago
build.gradle.kts Update kotlin version in examples (#4844) 6 months ago
gradle.properties Update kotlin version in examples (#4844) 6 months ago
gradlew Move experimental/examples to examples (#2976) 2 years ago
gradlew.bat Move experimental/examples to examples (#2976) 2 years ago
run-configurations.png Update README.md for Code Viewer example (#2989) 2 years ago
settings.gradle.kts Update kotlin version in examples (#4844) 6 months ago

README.md

Code Viewer

Code Viewer example for Desktop, Android and iOS written in Compose Multiplatform.

Setting up your development environment

To setup the environment, please consult these instructions.

How to run

Choose a run configuration for an appropriate target in Android Studio and run it.

run-configurations.png

Run desktop via Gradle

./gradlew desktopApp:run

Building native desktop distribution

./gradlew :desktop:packageDistributionForCurrentOS
# outputs are written to desktop/build/compose/binaries

Desktop