sureshg / compose-desktop-sample

:rocket: Jetbrains Compose desktop playground!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compose Desktop Playground

Compose Release GitHub Workflow Status Kotlin release OpenJDK Version Style guide

Jetbrains Compose desktop playground!

# Build the project
$ ./gradlew clean build

# Create OS specific package
$ ./gradlew clean package

# Run the app
$ ./gradlew clean run

# Run the app image
$ ./gradlew clean runDistributable

Print Java Platform Module deps

$ ./gradlew suggestRuntimeModules

Troubleshooting

# Clear all app permission attributes on MacOS. This is required for unsigned app to work on MacOS
$ sudo xattr -cr /Applications/compose-desktop-sample.app

# Stop Gradle daemon after switching the JDK
$ ./gradlew --stop && pkill -f KotlinCompileDaemon

# ARM64 self hosted runner config (Oracle cloud A1 flex)
$ ./config.sh --url https://github.com/sureshg/repo --token xxxxx
./bin/Runner.Listener: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./bin/Runner.Listener)
./bin/Runner.Listener: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./bin/Runner.Listener)

$ sudo yum install oracle-armtoolset-8
$ strings  /opt/oracle/oracle-armtoolset-8/root/usr/lib64/libstdc++.so | grep -i glib

$ export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
$ export LD_LIBRARY_PATH=/opt/oracle/oracle-armtoolset-8/root/usr/lib64:/usr/local/lib:/usr/lib:/usr/local/lib64:/usr/lib64

Tools

Resources


About

:rocket: Jetbrains Compose desktop playground!


Languages

Language:Kotlin 100.0%