autonomousapps / autonomousapps/dependency-analysis-gradle-plugin
`fixDependencies` is too noisy
- Dominant language
- Kotlin
- Stars
- 2.2k
- Forks
- 158
- Avg merge
- 16h 25m
- Merged PRs (30d)
- 46
Description
**Plugin version**
2.14.0
**Describe the bug**
`./gradlew fixDependencies` is really verbose. For every single module in my project DAGP generates an input like this:
```
Fixing dependencies for /path
```
Even when there are no suggestions for that module.
On top of that gradle makes it even worst:
```
> Task :module
Fixing dependencies for /path
```
At the end the console ends up with 3 lines of noise because the plugin didn't fix anything on that module.
Just to be clear, I'm completely fine with this message when there are suggestions and they are applied. I'm only complaining for the cases where there aren't suggestions.
**Expected behavior**
No suggestions to be applied -> No output
Contributor guide
Research direction
Reproduce the issue by running `./gradlew fixDependencies` on a project with multiple modules and no dependency suggestions. Trace the command's output and verify that modules with nothing to apply produce no output, while modules with suggestions still report their changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100