Skip to content

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.

build.gradle.kts
plugins {
id("com.google.cloud.artifactregistry.gradle-plugin")
}
repositories {
maven {
url = uri("artifactregistry://us-central1-maven.pkg.dev/airborne-software/maven")
}
}

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.

build.gradle.kts
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.

build.gradle.kts
dependencies {
implementation(platform("software.airborne.kairo:bom:6.0.0"))
implementation("software.airborne.kairo:YOUR-LIBRARY-OF-CHOICE")
}

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.

build.gradle.kts
dependencies {
implementation(platform("software.airborne.kairo:bom-full:6.0.0"))
}