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:<latest-version>")
}
}
}
}
In Android projects, add the dependency to your dependencies block in your app's build.gradle file:
dependencies {
implementation("io.github.joelkanyi:sain:<latest-version>")
}
For those using Gradle Version Catalog, you can add the dependency as follows:
[versions]
sain = "<latest-version>"
[libraries]
sain = { module = "io.github.joelkanyi:sain", version.ref = "sain" }
Add then include the dependency in your project as follows:
dependencies {
implementation(libs.sain)
}