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

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

// modules
implementation("io.github.mflisar.composedebugdrawer:infos-build:$composedebugdrawer")
implementation("io.github.mflisar.composedebugdrawer:infos-device:$composedebugdrawer")

// plugins
implementation("io.github.mflisar.composedebugdrawer:plugin-kotpreferences:$composedebugdrawer")
implementation("io.github.mflisar.composedebugdrawer:plugin-lumberjack:$composedebugdrawer")

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

libs.versions.toml
[versions]

composedebugdrawer = "<LATEST-VERSION>"

[libraries]

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

# modules
composedebugdrawer-infos-build = { module = "io.github.mflisar.composedebugdrawer:infos-build", version.ref = "composedebugdrawer" }
composedebugdrawer-infos-device = { module = "io.github.mflisar.composedebugdrawer:infos-device", version.ref = "composedebugdrawer" }

# plugins
composedebugdrawer-plugin-kotpreferences = { module = "io.github.mflisar.composedebugdrawer:plugin-kotpreferences", version.ref = "composedebugdrawer" }
composedebugdrawer-plugin-lumberjack = { module = "io.github.mflisar.composedebugdrawer:plugin-lumberjack", version.ref = "composedebugdrawer" }

And then use the definitions in your projects like following:

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

# modules
implementation(libs.composedebugdrawer.infos.build)
implementation(libs.composedebugdrawer.infos.device)

# plugins
implementation(libs.composedebugdrawer.plugin.kotpreferences)
implementation(libs.composedebugdrawer.plugin.lumberjack)