autonomousapps / autonomousapps/dependency-analysis-gradle-plugin
FR: add a way to exclude onDuplicateClassWarnings by dependencies
- Dominant language
- Kotlin
- Stars
- 2.2k
- Forks
- 158
- Avg merge
- 16h 25m
- Merged PRs (30d)
- 46
Description
Currently `onDuplicateClassWarnings` seems to be working on class-level.
Could we add in a way to work on a dependency level (e.g. exclude all duplicate class warnings coming from a specific dependency)?
For example, if some class is duplicated by dependencies A and B, I might be fine with that and add it to exclusions. But if suddenly this class is duplicated by the dependency C, that is not fine anymore. But, as far as I can see, there is no way to filter this by origin dependency.
Contributor guide
Research direction
Start with the existing onDuplicateClassWarnings configuration and trace how duplicate classes are attributed to their origin dependencies. Determine how exclusions should distinguish dependencies A and B from dependency C, then define coverage showing excluded origins are suppressed while an unexcluded origin still produces a warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- build-system, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100