Skip to main content

Installation

Miru SDK is published to Maven Central — no extra repository configuration needed. mavenCentral() is already included by default in Gradle.

Kotlin Multiplatform

Use the umbrella module to get every module in a single dependency:

kotlin {
sourceSets {
commonMain.dependencies {
implementation("io.github.wahidabd:miru-sdk:<version>")
}
}
}

Individual Modules

Pick only what you need:

kotlin {
sourceSets {
commonMain.dependencies {
implementation("io.github.wahidabd:miru-sdk-core:<version>")
implementation("io.github.wahidabd:miru-sdk-network:<version>")
implementation("io.github.wahidabd:miru-sdk-ui-state:<version>")
// ... add more as needed
}
}
}

Android Only

If your project is Android-only:

dependencies {
implementation("io.github.wahidabd:miru-sdk:<version>")
}

Available Modules

Artifact IDDescription
miru-sdkUmbrella — includes everything below
miru-sdk-coreResource, AppException, extensions
miru-sdk-networkKtor HTTP client, token management
miru-sdk-ui-stateBaseViewModel, UiState, EventFlow
miru-sdk-ui-componentsCompose UI components, theming
miru-sdk-navigationNavigation wrapper, transitions
miru-sdk-diKoin DI, SDK initializer
miru-sdk-firebaseRemote Config, FCM topics
miru-sdk-authGoogle, Apple, Facebook OAuth
miru-sdk-persistentRoom KMP, DataStore
tip

Replace <version> with the latest release from Maven Central.

Requirements

  • Kotlin 2.3.0+
  • AGP 9.0.0+
  • Android minSdk 24, compileSdk 36
  • iOS deployment target 16.0+
  • Compose Multiplatform 1.10.0+