Core

While building multiple KMP SDKs, there some reusable logic that can be encapsulated and reused in each new project This project aims to provide that.


Repo

For any issues or ideas you can check the repo kmp-core

Latest version

GitHub release (latest by date)


Setup

In your kotlin-multiplatfom project inside your module build.gradle.kts add dependency to your commonMain dependencies

val coreVersion = "<latest-version>"
val commonMain by getting {
    kotlin.srcDir("build/generated/ksp/metadata/commonMain/kotlin")
    dependencies {
        api("io.telereso.kmp:core:$coreVersion")
    }
}

use api to expose some logic to other platform,

if you’re supporting ios too and using cocoapods add the following

cocoapods {
    framework {
        export("io.telereso.kmp:core:$coreVersion")
    }
}

Table of contents