https://github.com/dietime/aurora-kmp-example
A simple example of using KMP on the Aurora OS
https://github.com/dietime/aurora-kmp-example
Last synced: 8 months ago
JSON representation
A simple example of using KMP on the Aurora OS
- Host: GitHub
- URL: https://github.com/dietime/aurora-kmp-example
- Owner: DieTime
- License: mit
- Created: 2025-09-05T20:54:54.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2025-09-09T01:05:27.000Z (9 months ago)
- Last Synced: 2025-09-09T02:42:19.195Z (9 months ago)
- Language: C++
- Homepage:
- Size: 22 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# aurora-kmp-example
A simple example of using KMP on the Aurora OS.
> [!WARNING]
> Currently, the project uses unpublished libraries for Aurora OS from a local Maven repository. However, since the project comes with pre-built artifacts, it can be compiled in Aurora IDE under Aurora OS.
> [!NOTE]
> Currently, building projects in Aurora IDE is only available on the Linux platform.
> Building on macOS with arm64 chips will be supported when Aurora IDE for version 5.2 is released to the public.
## Preview

## Libraries
- Ktor
- SQLDelight
- Serialization
- Coroutines
## Supported platforms
- Android (KMP + Compose)
- Aurora x64 (KMP + QML)
## Clone repository
> [!NOTE]
> Git LFS should be installed on the system.
```shell
$ git clone https://github.com/DieTime/aurora-kmp-example.git
$ cd aurora-kmp-example
```
## Build project for Android
```shell
$ ./gradlew :shared:generateCommonMainVisitDatabaseInterface
$ ./gradlew :androidApp:assembleDebug
```
## Build project for Aurora
```shell
$ ./gradlew :shared:generateCommonMainVisitDatabaseInterface
$ ./gradlew :shared:compileArtifactsAurora
```
1. Open [./auroraApp/com.example.aurorakmp.pro](./auroraApp/com.example.aurorakmp.pro) in [Aurora IDE](https://developer.auroraos.ru/downloads/sdk_mb2/5.1.5.105/linux)
2. Select `Build & Run` configuration for `x86_64` target
3. Press `Run` button to run project on emulator