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:modules-picker:$composethemer")
// themes
implementation("io.github.mflisar.composethemer:themes-metro:$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-modules-picker = { module = "io.github.mflisar.composethemer:modules-picker", version.ref = "composethemer" }
# themes
composethemer-themes-metro = { module = "io.github.mflisar.composethemer:themes-metro", version.ref = "composethemer" }
And then use the definitions in your projects like following: