Getting started
This section assumes you’re using Gradle.
Kairo is hosted on Google Artifact Registry, so you’ll first need to add the Google Artifact Registry plugin and connect to Airborne Software repository.
plugins { id("com.google.cloud.artifactregistry.gradle-plugin")}
repositories { maven { url = uri("artifactregistry://us-central1-maven.pkg.dev/airborne-software/maven") }}Using one (or just a few) Kairo libraries
Section titled “Using one (or just a few) Kairo libraries”Kairo’s standalone libraries can be used independently within your existing project.
To use a single Kairo library,
you could just add it to your dependencies block as you normally would.
dependencies { implementation("software.airborne.kairo:YOUR-LIBRARY-OF-CHOICE:6.0.0")}However, we recommend using Kairo’s BOM to keep your Kairo dependencies aligned.
dependencies { implementation(platform("software.airborne.kairo:bom:6.0.0")) implementation("software.airborne.kairo:YOUR-LIBRARY-OF-CHOICE")}Building a Kairo application
Section titled “Building a Kairo application”Great choice! You’re in for a treat.
If you’re building your entire application with Kairo, we highly recommend using Kairo’s full BOM, which not only keeps your Kairo dependencies aligned but also aligns several external library versions.
dependencies { implementation(platform("software.airborne.kairo:bom-full:6.0.0"))}