Installation
Apply the plugin to the module where you want analysis. I usually add it to the library modules and some main app modules where I have compiled classes.
plugins {
id("io.github.arya458.dead-code-detector") version "0.0.3"
}
Run it
./gradlew deadCodeDetector
# or as part of verification:
./gradlew check
If the plugin reports no classes, make sure your module has compiled output — run ./gradlew classes first.