Skip to main content

Installation

Add JitPack Repository

Add JitPack to your settings.gradle.kts:

dependencyResolutionManagement {
repositories {
google()
mavenCentral()
maven("https://jitpack.io")
}
}

Kotlin Multiplatform

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

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

Individual Modules

Pick only what you need:

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

Android Only

If your project is Android-only:

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

Available Modules

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

Replace <version> with the latest release tag from JitPack.

Requirements

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