πŸ“‡All Dependencies

Add Maven

If you don't already have Maven Central in your repositories yet, add the following:

// settings.gradle.kts

pluginManagement {
    repositories {
        mavenCentral()
        // etc
    }
}

dependencyResolutionManagement {
    repositories {
        mavenCentral()
        // etc
    }
}

Add Compass dependencies

Maven Central Version

  1. Declare the dependencies in your libs.versions.toml:

  1. Add the dependencies to your build.gradle.kts:

If you plan on using Compass in a project that targets both mobile and non-mobile platforms (desktop, browser, etc). Then you will need to make sure use expect/actual to provide the implementation for each platform. See Mixed platforms.

Last updated

Was this helpful?