My question is similar to the one asked here:
The difference is:
I’m trying to write a Gradle plugin (in Java) and one of the tasks it should provide requires multiple processing steps (build, generate some custom folder structure in a temp folder, copy and generate files, zip everything together and a few other things).
Should I hide this complexity in a huge custom task class (and possible re-implement a lot of stuff) or preconfigure smaller tasks + dependencies to leverage task types gradle provides out-of-the-box?
What’s the more “gradle” solution for plugins?