Installation
Add the Kotbase dependency to your Kotlin Multiplatform project in the commonMain source set dependencies of your shared module's build.gradle.kts:
Note
The Couchbase Lite Community Edition is free and open source. The Enterprise Edition is free for development and testing, but requires a license from Couchbase for production use. See Community vs Enterprise Edition.
Kotbase is published to Maven Central. The Couchbase Lite Enterprise Edition dependency additionally requires the Couchbase Maven repository.
Native Platforms
Native platform targets should additionally link to the Couchbase Lite dependency native binary. See Supported Platforms for more details.
Linux
Targeting JVM running on Linux or native Linux, both require a specific version of the libicu dependency. (You will see
an error such as libLiteCore.so: libicuuc.so.71: cannot open shared object file: No such file or directory
indicating
the expected version.) If the required version isn't available from your distribution's package manager, you can
download it from GitHub.