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 composethemer = "<LATEST-VERSION>"

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

// modules
implementation("io.github.mflisar.composethemer:themes:$composethemer")

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

libs.versions.toml
[versions]

composethemer = "<LATEST-VERSION>"

[libraries]

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

# modules
composethemer-themes = { module = "io.github.mflisar.composethemer:themes", version.ref = "composethemer" }

And then use the definitions in your projects like following:

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

# modules
implementation(libs.composethemer.themes)