Gradle is a build tool for Java, like ANT (A Neat Tool) and Maven, that compiles what needs to be compiled and collects what needs to be collected into jars. The current version is 4.0 Last revised/verified: 2017-06-14
Gradle’s build scripts are written in Groovy, not XML (extensible Markup Language) as in Maven. Groovy is a language similar to Python but with a more Java-esque syntax. It is a little bit like Smalltalk. Unlike ANT and Maven it uses a proper programming language, not XML (which you have to beat senseless to even implement an a IF). It has ANT-like targets/tasks with dependencies. Unlike ANT is it capable of figuring out which classes to put in a jar.
Like ANT, Gradle use a complicated *.bat file to launch it. Here is a simplified version to help you understand what it is doing that is easier to troubleshoot:
DSL (Domain Specific Language) is used to refer to their Gradle Build Language.
DAG (Directed Acyclic Graph). A more gnarled relative of the tree.
Tim Berglund and Matthew McCullough wrote the user guide. They are salesman. They love to tell you how brilliant and flexible their system is. They even show you how to update an SQL (Standard Query Language) database with it, but they don’t show you the meat and potatoes — how to compile, jar and prepare a zip distributable. They don’t talk at all about ensuring dynamically loaded classes get into the jar. They are far more interested in impressing you with how clever they are than helping you actually do a build. That sort of thing is too boring for them to mention. They are like magicians wanting you to be amazed and to applaud, not to understand what is actually happening. It looks good, but it needs a more mundane, pragmatic introduction get show you the very minimum you need to know to get jars and zips out the door. So far I have seen nothing about ability to handle any language but Java. So that means no JNI (Java Native Interface).
You may have never heard of it, but there are six books about it published. Here are three of them:
recommend book⇒Gradle in Action | ||||
by | Benjamin Muschko | 978-1-61729-130-2 | paperback | |
---|---|---|---|---|
publisher | Manning Publications | |||
published | 2014-03-09 | |||
Also covers Migration from ANT and Maven. | ||||
Greyed out stores probably do not have the item in stock. Try looking for it with a bookfinder. |
recommend book⇒Gradle Beyond the Basics | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
by | Tim Berglund | 978-1-4493-0467-6 | paperback | |||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
publisher | O’Reilly | 978-1-4493-7382-5 | eBook | |||||||||||||||||||||||||||||||||||||||||||||||||||||
published | 2013-08-15 | B00DZ4I8XE | kindle | |||||||||||||||||||||||||||||||||||||||||||||||||||||
This is a more advanced book. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Greyed out stores probably do not have the item in stock. Try looking for it with a bookfinder. |
recommend book⇒Building and Testing with Gradle | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
by | Tim Berglund, Matthew McCullough | 978-1-4493-0463-8 | paperback | |||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
publisher | O’Reilly | 978-1-4493-1309-8 | eBook | |||||||||||||||||||||||||||||||||||||||||||||||||||||
published | 2011-07-16 | B005EI85J6 | kindle | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Introductory book. eBook available free in HTML form. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Greyed out stores probably do not have the item in stock. Try looking for it with a bookfinder. |
This page is posted |
http://mindprod.com/jgloss/gradle.html | |
Optional Replicator mirror
|
J:\mindprod\jgloss\gradle.html | |
Please read the feedback from other visitors,
or send your own feedback about the site. Contact Roedy. Please feel free to link to this page without explicit permission. | ||
Canadian
Mind
Products
IP:[65.110.21.43] Your face IP:[18.191.192.109] |
| |
Feedback |
You are visitor number | |