Skip to content

Kairo Server

Servers are composed of Features, and can be run as an application or as part of integration tests.

Install kairo-server. But if you’ve already installed kairo-application, you don’t need kairo-server too.

build.gradle.kts
dependencies {
implementation("software.airborne.kairo:kairo-server")
}

All you need are your Features and a name.

val features = listOf(
// ...
)
val server = Server(
name = "...",
features = features,
)

You can run the Server as an application using kairo-application, or use it in integration tests.