Gradle Setup for Kotlin Multiplatform KMP
Setup
Before getting Cloud-Inject SDK, you need to setup the Gradle repository to use.
Cloud-Inject is directly available in Maven Central
. You don't need anything to do apart using mavenCentral()
Cloud-Inject KMP SDK (since 0.10.0-Beta5)
Gradle Dependency
In your app build.gradle
file, add a cloud-inject
dependency:
// CloudInject SDK in commonMain
commonMain {
dependencies {
implementation("io.kotzilla:cloud-inject:$version")
}
}