I like gradle very much, but I’m still having many problems when I need to customize something which is out of the box.
I have following code for creating wars at the moment: https://gist.github.com/b1572e80d2e6a40ee1e7
when I run war, it creates all the war files I need. But this functionality repeates in at least 2 more projects and I don’t want to duplicate this code all over.
How can I make an “abstract” task, or a task, which takes different $env?
Thanks for your help