What's the best way to hook into Compose Resources generation (in Gradle)? I want to run another Gradle task before any of the CMP Resources generation happens. The best I've come up with is:
Neither of these task types are linked or dependent on each other AFAICT, so need to make them all depend on my task. Is it worth adding a single parent task?
Kinda. I want to run another resources generator (in this case Twine) before CMP does anything to do with resources. That way, I can invoke twine, and move the generated output to somewhere CMP knows about.
cb
06/21/2024, 1:14 PM
Custom paths would be handy though. At the moment I just generate the files as
generated.xml
and gitignore that path
k
Konstantin Tskhovrebov
06/21/2024, 1:19 PM
well, you will need to set your task output as input for my task, right?