Setup

This library is distributed via maven central.

Add dependencies like following to use this library inside your project.

Simply add the dependencies inside your build.gradle.kts file.

build.gradle.kts
val composechangelog = "<LATEST-VERSION>"

// core
implementation("io.github.mflisar.composechangelog:core:$composechangelog")

// dialog modules
implementation("io.github.mflisar.composechangelog:statesaver-kotpreferences:$composechangelog")
implementation("io.github.mflisar.composechangelog:statesaver-preferences:$composechangelog")

// gradle plugin
implementation("io.github.mflisar.composechangelog:gradle-plugin:$composechangelog")
implementation("io.github.mflisar.composechangelog:gradle-plugin-shared:$composechangelog")

Define the dependencies inside your libs.versions.toml file.

libs.versions.toml
[versions]

composechangelog = "<LATEST-VERSION>"

[libraries]

# core
composechangelog-core = { module = "io.github.mflisar.composechangelog:core", version.ref = "composechangelog" }

# dialog modules
composechangelog-statesaver-kotpreferences = { module = "io.github.mflisar.composechangelog:statesaver-kotpreferences", version.ref = "composechangelog" }
composechangelog-statesaver-preferences = { module = "io.github.mflisar.composechangelog:statesaver-preferences", version.ref = "composechangelog" }

# gradle plugin
composechangelog-gradle-plugin = { module = "io.github.mflisar.composechangelog:gradle-plugin", version.ref = "composechangelog" }
composechangelog-gradle-plugin-shared = { module = "io.github.mflisar.composechangelog:gradle-plugin-shared", version.ref = "composechangelog" }

And then use the definitions in your projects like following:

build.gradle.kts
# core
implementation(libs.composechangelog.core)

# dialog modules
implementation(libs.composechangelog.statesaver.kotpreferences)
implementation(libs.composechangelog.statesaver.preferences)

# gradle plugin
implementation(libs.composechangelog.gradle.plugin)
implementation(libs.composechangelog.gradle.plugin.shared)