What problem does it solve?
Clean up Gradle module dependency declarations using DAGP guidance without blindly applying advice that could break builds or introduce worse architecture.
Core Features & Use Cases
- Guided DAGP triage: classifies advice (unused/removal, misused-transitive add,
api-like promotion risk, demotions, redundant plugins, Android/module-specific cases) and tells you when to investigate rather than apply.
- Versioning and baselining: verifies the DAGP plugin is applied and suggests checking for a recent stable version before proceeding, then runs
buildHealth (and optionally projectHealth) to generate structured advice.json reports.
- Batched, reviewable fixes: helps you plan incremental PR batches and verify each batch with targeted compile/test and follow-up health checks, avoiding “mega-PR” changes.
- When DAGP is wrong: supports diagnostics via
:module:reason, explains common false-positive causes (KAPT/KSP, reflection, Android resources, generated sources), and outlines safe upstream reporting with explicit user approval.
Quick Start
Use the gradle-dagp skill to run buildHealth, interpret the resulting advice categories, and propose a safe batched PR plan before applying any dependency changes.