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 module
implementation("io.github.mflisar.composedebugdrawer:core:$composedebugdrawer")

// if you want to use some of the default info modules
implementation("io.github.mflisar.composedebugdrawer:infos-build:$composedebugdrawer")
implementation("io.github.mflisar.composedebugdrawer:infos-device:$composedebugdrawer")

// plugins that add support for the corresponding libraries
implementation("io.github.mflisar.composedebugdrawer:plugin-lumberjack:$composedebugdrawer")
implementation("io.github.mflisar.composedebugdrawer:plugin-kotpreferences:$composedebugdrawer")

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

libs.versions.toml
[versions]

composedebugdrawer = "<LATEST-VERSION>"

[libraries]

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

# if you want to use some of the default info 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 that add support for the corresponding libraries
composedebugdrawer-plugin-lumberjack = { module = "io.github.mflisar.composedebugdrawer:plugin-lumberjack", version.ref = "composedebugdrawer" }
composedebugdrawer-plugin-kotpreferences = { module = "io.github.mflisar.composedebugdrawer:plugin-kotpreferences", version.ref = "composedebugdrawer" }

And then use the definitions in your projects like following:

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

# if you want to use some of the default info modules
implementation(libs.composedebugdrawer.infos.build)
implementation(libs.composedebugdrawer.infos.device)

# plugins that add support for the corresponding libraries
implementation(libs.composedebugdrawer.plugin.lumberjack)
implementation(libs.composedebugdrawer.plugin.kotpreferences)