Hey everyone 👋
I'm working on a custom task setup, where I download proto files from a remote source. For each flavored build variant I download a set of files or a zip (depends on the task) which can have a Jni or assets, and also a proto file, and I use AGP API to put them into a generated source set: build/generated/*. I know that Wire can automatically detect src/main/proto but how can I tell it to look in generated folder for a specific build variant? I tried to connect my task output (the generated directory property) to the input of the WireTask but so far it doesn't work. Is there any way to do that? I don't want to copy proto files to the src dir, I want to keep them in the build directory.