autonomousapps / dependency-analysis-gradle-plugin

Gradle plugin for JVM projects written in Java, Kotlin, Groovy, or Scala; and Android projects written in Java or Kotlin. Provides advice for managing dependencies and other applied plugins
Apache License 2.0
1.77k stars 116 forks source link

Suggest running `fixDependencies` when build/project health checks fail #1053

Open joshfriend opened 10 months ago

joshfriend commented 10 months ago

Is your feature request related to a problem? Please describe. When buildHealth or projectHealth fails, it prints a list of suggestions to fix in your build. For folks who have not used DAGP before, it is easy to assume you have to fix this manually.

Describe the solution you'd like When analysis suggestions are offered, include a stanza in the output that indicates how to automatically fix the issues using fixDependencies

autonomousapps commented 10 months ago

Thanks for the issue! This one might be pretty straightforward to contribute if you're interested.