Barq Kotlin is the Kotlin Multiplatform SDK for BarqDB.
This repo contains the Kotlin Multiplatform SDK, Gradle plugin, compiler plugin, native interop layer, tests, and benchmarks.
- Kotlin Multiplatform local database API
- Sync API backed by Barq sync
- Gradle and compiler plugins
- Native interop through barq-core
The main Gradle build lives in packages.
library-base: local database APIlibrary-sync: Barq sync APIcinterop: native bindingsplugin-compiler: model compiler plugingradle-plugin: Gradle plugintest-baseandtest-sync: test support
From packages:
./gradlew :library-base:compileKotlinJvm
./gradlew :library-sync:compileKotlinJvmSync tests use a Barq sync server.
The default test URL is:
http://localhost:9090
Set syncTestUrl in packages/gradle.properties or pass it on the Gradle command line.
- Stabilize published Maven artifacts
- Improve Android and KMP sample apps
- Keep sync tests easy to run locally
- Track barq-core releases closely