FREE Delivery in the UK.
Only 5 left in stock (more on the way).
Dispatched from and sold by Amazon.
Gift-wrap available.
Gradle in Action has been added to your Basket
Trade in your item
Get a £4.00
Gift Card.
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See all 2 images

Gradle in Action Paperback – 9 Mar 2014

See all formats and editions Hide other formats and editions
Amazon Price New from Used from
"Please retry"
£15.46 £15.62

Frequently Bought Together

Gradle in Action + Making Java Groovy
Price For Both: £53.22

Buy the selected items together

Trade In this Item for up to £4.00
Trade in Gradle in Action for an Amazon Gift Card of up to £4.00, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Learn more

Product details

  • Paperback: 480 pages
  • Publisher: Manning Publications; 1 edition (9 Mar. 2014)
  • Language: English
  • ISBN-10: 1617291307
  • ISBN-13: 978-1617291302
  • Product Dimensions: 23.5 x 18.9 x 2.7 cm
  • Average Customer Review: 4.5 out of 5 stars  See all reviews (2 customer reviews)
  • Amazon Bestsellers Rank: 33,524 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, and more.

Product Description

About the Author

Benjamin Muschko is a senior software engineer with more than 10 years of experience in developing and delivering business applications. He is an active Gradle contributor and author of several popular plugins.

Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

4.5 out of 5 stars
5 star
4 star
3 star
2 star
1 star
See both customer reviews
Share your thoughts with other customers

Most Helpful Customer Reviews

Format: Paperback
I am not a full time programmer. I dabble a bit in a range of languages, so I come across various build tools and systems. I have to admit the fact that managing Java builds was such a pain 'by hand' is one of the reasons that I haven't used it much as my language of choice.

This book sets out to persuade you that Gradle is the answer to your build manager prayers. It does this initially by discussing the other 'big boys' on the block (Ant and Maven). It spends what feels like a long time talking about the shortcomings of Ant and Maven. As I have recently encountered a project that is managed by Maven I felt the pain!

Eventually, having determined what build managers should do by highlighting the others failings, the book gets to Gradle, and gives a good guide on how to go about working with this system.

As I say, I don't have anything that needs managing with Gradle right now, but I know I will have a book that 'has my back' when it comes time to use Gradle in anger.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
By Pavel Kopachevsky on 3 July 2014
Format: Paperback
One of the most competent handbook of all "In action" series.
Both intuitive and comprehensive examples.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Most Helpful Customer Reviews on Amazon.com (beta)

Amazon.com: 17 reviews
12 of 12 people found the following review helpful
Gradle takes the best parts of Ant and Maven and adds the ability to automate the delivery pipeline the way you want. 30 April 2014
By T. Couger - Published on Amazon.com
Format: Paperback
I first heard about Gradle in a session at JavaOne where one of the presenters was Hans Dockter (founder of Gradle). Hans kept on repeating that you should use Gradle to implement automation the way you need it to be done, not just as a straight translation from Ant or Maven. I found that concept intriguing. So I started reading this book ...

My background: I've used Ant and Maven for years, but I had no previous exposure to Groovy.

I found that this book provides excellent coverage of Gradle and how it can be used across a Continuous Delivery pipeline. I was satisfied with the level that the author covered the various topics. He never went too deep into a subject, and when he stopped the discussion he always provided a link to where I could find additional information.

Here are some of the aspects of the book I enjoyed:

* The presentation style is very similar to a programming book. Which makes sense since Gradle is a DSL in Groovy.

* I liked the mild introductions to various concepts (Project Automation, Build Tools, Dependency Management, Automated Testing, Continuous Integration/Delivery).

* The source code is available in a Git repository (updates are as simple as a "git pull" command).

* He uses a common "ToDo" project throughout the book, updating the project as it applies to the subject being covered.

* Exposure to other tools in the examples (Junit, TestNG, Spock, CloudBees, Jenkins, ...). In chapter 8 you create a plugin to publish a WAR file to the Cloud (CloudBees). In Chapter 13 you are lead through the process of building the ToDo project with Jenkins, which I thought was AWESOME!

* The Appendix on Groovy was short, yet in depth enough to understand the Gradle syntax. The author also suggests looking at the DZone cheat sheet for Groovy.

* While reading the book I came across an interesting article about using Gradle for JavaScript builds (DZone Article: JavaScript Webapps with Gradle). Even after only reading about a third of the book, I had been exposed to enough Gradle to understand the article.

I think this book is a good addition to my library.
2 of 2 people found the following review helpful
A good addition to your reference library 25 Mar. 2014
By Sandeep Nayak - Published on Amazon.com
Format: Paperback
Overall I found 'Gradle in Action' to be very helpful.

The book covers all aspects of software development and is a good reference book to have in your library if you are planning to write and/or are managing gradle based builds for your company or team. It explains how gradle can play a part in every aspect of software development cycle from using IDE, to compilation, to unit-testing and integration test, to releasing versions of code all the way to managing infrastructure to push code to servers. Consider this book as a tool to get you going. It gives a good foundation which you can apply to solve your project's specific issues.

I have been using Gradle for project builds for about a year now and I have had my challenges with Gradle. There are times when I needed to get a specific task done and could not figure the recommended way to achieve it i.e. should one use dependsOn or doLast. The documentation seems too vast to figure.

'Gradle in Action' is comprehensive and well laid out. It gives a ground up view of the Gradle tooling. It starts with the basics of the gradle framework, then builds on it with definitions of projects, tasks and expressing dependencies of a task. The details of how to write single and multi-project builds, tasks and task extensions and custom plugins are well addressed and give the reader enough to accomplish gradle based projects. I had used a lot of these capabilities in my gradle builds but the book helped me understand that there are simpler constructs I could use, a point-in-case being the concept of ''rules' covered in 4.2.11 which allows common code/patterns to be applied repeatedly. I find that after reading the book I can put more structure to the gradle builds and simplify them.
2 of 2 people found the following review helpful
Good guide to the gradle world 23 Mar. 2014
By Alessandro Campeis - Published on Amazon.com
Format: Paperback
Gradle is a fantastic tool, it helps you write much simpler, readable and maintainable builds then using the tools we were used to use in the past (oh yes, you can read it as ANT+MAVEN).
There was just a downside... I always found documentation sparse and hard to find what I need and this books contains exactly what's needed to fill this empty space.

First part of the book is a recap of the build script world, what we need it for, how we solved it in the past and how gradle wants to position itself in the build tools scene.
Second part is where the good stuff is in my opinion: the author makes a great job at introducing the reader in the mix of conventions and groovy scripts that makes the base of gradle. You're not just being told how to do things with gradle, but you 've been explained the gradle model and lifecycle. This way your gently driven through the gradle way of thinking.
Third part is made of recipes style chapters where the author has collected many practices and told on how to integrate gradle in your development and release cycle, from IDE integration, to continuous building till release in production.

Even if the book has many practical advice on how to solve your build problems, where it really shines is on how it teaches you to write your own code in a maintainable and reusable way going into the details of writing scripts, plugins and integrating with your existing Ant/Maven scripts to help you incrementally move your build infrastructure to gradle.
2 of 2 people found the following review helpful
Will Gradle overtake Maven and Ant among Java build tools? It does seem a lot easier to use. 11 Mar. 2014
By Si Dunn - Published on Amazon.com
Format: Paperback
I have enjoyed reading and learning from this well-written. well-structured book. "Gradle in Action" does use some Groovy in most of its code examples. But you are not expected to have experience with that language. Instead, the author gradually introduces Groovy and shows how it is used in the software build processes, while keeping the book’s focus on Gradle and Gradle’s advantages over Maven and Ant (with Ivy). Java developers and automation engineers especially may want to check out "Gradle in Action" and consider adding Gradle to their software build toolboxes.
1 of 1 people found the following review helpful
Good source if you interested in Gradle. Authors present the material in easy to read and understand concepts. 28 April 2014
By kathleen estrada - Published on Amazon.com
Format: Paperback
I was recently tasked with creating portlets in Groovy for a new portal, that sat on top of a second portal. I struggled constantly with balancing the different versions of Java, Groovy, Grails, Liferay, Ant and/or Maven. So I cringed when I first thought of adding Gradle into the mixture, but was relieved to get rid of Ant and/or Maven.
This book provided me with with clear information I was able to use immediately. It is difficult to find an all-in-one information stop online and I do spend too much time searching multiple sources online, than having to piece the information together so it works for me.
If you plan to work with Groovy, this book is a must. Apppendix B is helpful if you are new to Groovy, so you can start using the Gradle build tool for your Groovy projects.
Were these reviews helpful? Let us know