So I’ve been using ant for ages (10+ years) and I’m generally happy but I typically have a bunch of conditional compilations and custom tasks and I know things would be so much better if and straight forward if I could just do the simple scripting right in the build file.
However, as I’m learning about gradle, there doesn’t seem to be a guide that really helps me. I feel like in ant I maybe do a dozen different things, and that’s probably pretty typical, and I haven’t found the guide that says “if you do this in ant you do this in gradle”. Does this guide exist? All of the guides seem to be about coming from maven and your project has to be in a special way and then you just use this plug-in, etc … but those things don’t work for me.
One thing in particular, for example, is it looks like you can use some sort of built-in gradle facility to do copies, but you could also use the ant builder. How would I know what the built-in facilities are and when to use them over the ant builder?
It feels like there’s a 400 page user guide but none of this is really addressed. What am I missing?