autonomousapps / autonomousapps/dependency-analysis-gradle-plugin
Question: How does DAGP resolve dependencies for duplicate resource names across modules?
- Dominant language
- Kotlin
- Stars
- 2.2k
- Forks
- 158
- Avg merge
- 16h 25m
- Merged PRs (30d)
- 46
Description
There is an Android project with three modules: a, b, and c. Suppose modules b and c both contain a string resource with the same name - common_ok. Modules b and c are included in module a. In module a, there is an XML file(layout) that uses the string resource common_ok. How will the :a :projectHealth DAGP task advice which dependency to add or remove?
There is a suspicion that [this issue](https://github.com/autonomousapps/dependency-analysis-gradle-plugin/issues/1029) occurs due to this particular case.
Contributor guide
Research direction
Start by reviewing issue #1029 and the :a :projectHealth advice for the three-module Android scenario with duplicate common_ok resources in modules b and c. Trace how the plugin determines the dependency advice for module a, and verify whether the observed behavior matches the expected result described in this issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android
- Domain
- build-system, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100