Android: setting `out` for a target breaks the build if there is 2 or more variants
Open
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 4.4k
- Forks
- 627
- Avg merge
- 3d 15m
- Merged PRs (30d)
- 20
Description
Wire will generate a task per variant but they'll end up having the same output location which will cause troubles.
We should either throw if we detect this scenario, and/or allow the consumer to set an output dir per variant
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Start by locating Wire's Android task generation and handling of the out target setting, then reproduce a build with two or more variants. Done means the conflict is rejected clearly or consumers can configure distinct output directories per variant, with coverage for the chosen behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- build-system, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100