What is the key to understanding Gradle documentation? I must be missing something because I can’t understand or follow any of the Gradle docs or APIs.
I’m having to edit a previously written script at work. I see a variable named ‘ant’ and from a Google search I now know it is implicitly available in my gradle script and refers to an Object called AntBuilder. How am I supposed to know this from the gradle API? Where is the set of implicit objects defined?
Next… this ‘ant’ object has (I think?) a method called ‘java’ on it. Looking at the AntBuild API, none of these ‘ant-task’ methods are defined. How am I supposed to know what methods are available on the AntBuilder object?
Next… I need to know what parameters this ‘java’ method takes. Without API documentation, it is impossible to know. This appears to be the case for ALL Gradle documentation. If you don’t already happen to know what’s possible, there’s no way to figure it out.
What is the key to understanding an using Gradle. I’ve read the book and all documentation cover-to-cover and am none-the-wiser.