dependency-analysis-gradle-plugin icon indicating copy to clipboard operation
dependency-analysis-gradle-plugin copied to clipboard

Clear failure reasons

Open changusmc opened this issue 7 months ago • 1 comments
trafficstars

Is your feature request related to a problem? Please describe.

Our advice list is currently 395 lines long and should-fail.txt returns false. However, in certain scenarios in CI, devs would hit failures and they have a hard time understanding which of those advices contribute to the dep-analysis failure.

Describe the solution you'd like

Is there an easy way for the plugin to separate which advice is causing the failure? Maybe instead of

Advice for :library:powerscore
Unused dependencies which should be removed:

it would read:

Failure for :library:powerscore
Unused dependencies which should be removed:

Describe alternatives you've considered

Fixing all existing failures could help, but since the plugin doesn't always fail in CI, the list can grow again so it seems like a fruitless endeavor.

Additional context

changusmc avatar Apr 08 '25 21:04 changusmc

Thanks for the issue. This is a really good point and I've often thought about this.

autonomousapps avatar Apr 10 '25 23:04 autonomousapps