Skip to content

Getting Started

Including it in your project:

Add the Maven Central repository if it is not already there:

repositories {
    mavenCentral()
}

In multiplatform projects, add a dependency to the commonMain source set dependencies

kotlin {
    sourceSets {
        commonMain {
             dependencies {
                 implementation("io.github.joelkanyi:sain:2.0.3")
             }
        }
    }
}

In Android projects, add the dependency to your dependencies block in your app's build.gradle file:

dependencies {
    implementation("io.github.joelkanyi:sain:2.0.3")
}

For those using Gradle Version Catalog, you can add the dependency as follows:

[versions]
sain = "2.0.3"

[libraries]
sain = { module = "io.github.joelkanyi:sain", version.ref = "sain" }

Add then include the dependency in your project as follows:

dependencies {
    implementation(libs.sain)
}