Need an API to allow a Wire task to depend on another Wire task.
Open
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 4.4k
- Forks
- 627
- Avg merge
- 3d 15m
- Merged PRs (30d)
- 20
Description
Right now, I don't think I can do something like the following.
// Module `a`
wire {
sourcePath 'all-protos'
proto {
out 'src/main/protos'
}
}
// Module `b`
wire {
sourcePath project(':a')
kotlin {}
}
I have one big source of protos, I wanna prune them, generate new proto files, and wanna generate kotlin from this generated proto files.
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
The issue names no implementation file or test; start by tracing how the Wire task and its sourcePath/proto configuration are defined. Compare the two-module example and verify that one task can consume the generated proto output of another, with task ordering and generated Kotlin output working as requested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100