This is error prone and counter to Gradle best practices.
In the same way that Kotlin-producing tasks can be added directly as a srcDir with which Gradle resolves the @OutputDirectory, I should be able to add proto-producing tasks (or rather, TaskProviders) to Wire's srcDir.
If someone is sourcing protos from an external source, you currently have to wire (heh) directories like this:
This is error prone and counter to Gradle best practices.
In the same way that Kotlin-producing tasks can be added directly as a
srcDir
with which Gradle resolves the@OutputDirectory
, I should be able to add proto-producing tasks (or rather,TaskProvider
s) to Wire'ssrcDir
.