Can someone help me to understand Gradle API.
I came from Java background and have little idea about Groovy.
Before writing this I have searched internet for videos and blogs, but not useful for beginners to jump into gradle quickly.
Where to start to learn this API usage ? dont say gradle API guide/ user guide i have gone through that but not helped.
Because it is in Groovy style syntax , I am not able to understand what/how/where i can use api/properties/methods.
**Sample Questions **
- let’s say I want to fetch one dependency and extract and filter xml files , I dont know where to start.
- I have seen getSingleFile() method but we used as singleFile. are these properties are implictly available with getXXX?
- How can i know i may use each instead of forEach in FileCollection ?
where I stuck
I tried to know from internet:
What methods I can use on compile configuration?
Sometimes it is Spec, or Container…etc
Totally Confused in understanding these API usages.
It is the common blocking place in gradle for most of the beginners.