Building and Testing with Gradle and over 2 million other books are available for Amazon Kindle . Learn more
FREE Delivery in the UK.
Only 2 left in stock (more on the way).
Dispatched from and sold by Amazon.
Gift-wrap available.
Building and Testing with... has been added to your Basket
+ £2.80 UK delivery
Used: Good | Details
Sold by owlsmart_usa
Condition: Used: Good
Comment: Good clean copy with no missing pages might be an ex library copy; may contain marginal notes and or highlighting
Trade in your item
Get a £3.58
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

Building and Testing with Gradle Paperback – 16 Jul 2011

See all 2 formats and editions Hide other formats and editions
Amazon Price New from Used from
Kindle Edition
"Please retry"
"Please retry"
£8.89 £8.91
£16.50 FREE Delivery in the UK. Only 2 left in stock (more on the way). Dispatched from and sold by Amazon. Gift-wrap available.

Special Offers and Product Promotions

  • When you trade in £15 or more you’ll receive an additional £5 Gift Card for the next time you spend £10 or more.

Frequently Bought Together

Building and Testing with Gradle + Gradle Beyond the Basics
Price For Both: £32.24

Buy the selected items together

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

Product details

  • Paperback: 116 pages
  • Publisher: O'Reilly Media; 1 edition (16 July 2011)
  • Language: English
  • ISBN-10: 144930463X
  • ISBN-13: 978-1449304638
  • Product Dimensions: 17.8 x 0.8 x 23.3 cm
  • Average Customer Review: 1.5 out of 5 stars  See all reviews (2 customer reviews)
  • Amazon Bestsellers Rank: 749,924 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Discover books, learn about writers, and more.

Product Description

Book Description

Understanding Next-Generation Builds

About the Author

Tim is a full-stack generalist and passionate teacher who loves coding, presenting, and working with people. He is founder and principal software developer at the August Technology Group, a technology consulting firm focused on the JVM. He is a speaker internationally and on the No Fluff Just Stuff tour in the United States, co-presenter of the best-selling O'Reilly Git Master Class, and is co-president of the Denver Open Source User Group. He has recently been exploring build automation, non-relational data stores, and abstract ideas like how to make software architecture look more like an ant colony. He lives in Littleton, CO with the wife of his youth and their three children.

Matthew McCullough is an energetic 15-year veteran of enterprise software development, world-traveling open source educator, and co-founder of Ambient Ideas, LLC, a US consultancy. Matthew currently is a trainer for Gradleware, educator for, author of the Git Master Class series for O'Reilly, speaker on the No Fluff Just Stuff tour, author of three of the top 10 DZone RefCards, including the Git RefCard, and President of the Denver Open Source Users Group.

His current topics of research center around project automation, including: build tools (Gradle, Leiningen, Maven, Ant), distributed version control (Git, Mercurial), testing frameworks (Geb, Spock, JUnit, TestNG, Mockito), continuous integration (Jenkins, Hudson, Bamboo) and code quality metrics (Sonar, CodeNarc, PMD).

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

1.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

1 of 1 people found the following review helpful By Bobx on 11 Mar. 2014
Format: Paperback Verified Purchase
I have been fooled too many time by O'Reilly - I need to double check the page count before purchasing their titles in future.

The worst discovery is on page 10 - I quote

"There is a much longer story to tell about the Java plug-in, which will be covered in a separate volume"

So the author suggests to do what is the subject title of this book I read the free online documentation instead (not a great recommendation from the author himself) or buy his further book.

Not on.
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
1 of 1 people found the following review helpful By Jonathan Fisher on 28 Mar. 2014
Format: Paperback Verified Purchase
It's a pamphlet. ~80 pages with no more information than the Gradle user guide. Would be okay if it was cheap - but it's very expensive for what you get, and you don't get much.
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 (beta) 10 reviews
16 of 16 people found the following review helpful
Too basic to warrant a book 15 Sept. 2011
By John Burbridge - Published on
Format: Paperback Verified Purchase
The book's synopsis is true to its contents. It does not over-promise and delivers exactly what it says it will. If you've never used Gradle before, this book will teach you the basics of building and testing.

I would recommend this book only to individuals who don't have any prior Ant / Maven / Gradle experience and prefer reading a book than reading the on-line documentation. For everyone else I'd recommend reading the on-line documentation thoroughly, downloading Gradle and becoming familiar with the samples that are packaged with the standard distribution.

In my case, I had already been using Gradle for a couple of months and had a solid understanding of the basics, so I was a bit disappointed to find most of my intermediate / advanced questions were not addressed. Gradle is capable of offering a lot more than building and testing but there's virtually nothing in this book addressing topics like configuration, deployment or integration testing.

I was also surprised to find that there's virtually no coverage of some of the more popular plug-ins such as war, ear, jetty, tomcat, cobertura, etc. The only plug-in that is covered extensively is the Maven plug-in - there's an entire chapter devoted to it. The testing chapter covers junit, testng, spock, easyb and geb -- albeit very very basic information is provided.

In short, chances are that if you're looking for a Gradle book you already know a the basics. You've done a little research and compared it to Ant, Maven and Buildr. You're past the hello world examples and are looking for something with a bit more depth. And if that's your case, then you're like me and will probably not benefit much from this book.
11 of 11 people found the following review helpful
Unsuitable for both build tool beginners and experts 17 April 2012
By Aslag - Published on
Format: Paperback Verified Purchase
As others have written, this book doesn't approach the complexity of building software projects and competently building such projects is largely about managing complexity. While it may not be fair to judge the book for its simplistic treatment of the topic (after all it is *really short* and meant to be a sort of introductory volume), it is a tremendous shortcoming. For people with some passing familiarity with Gradle but who want to study it in-depth and apply it to real-world problems, this book doesn't provide much assistance.

But even as an introductory volume the book falls short: it assumes the reader has familiarity with current build tools (Maven and Ant with Ivy) and knows how to use them. For the reader who does meet these criteria, Gradle's own online documentation provides much more useful information about getting started than this book does. For the reader who has very little previous build tool experience, the book assumes too much to be useful. In this way it fails to provide a proper introduction to Gradle and should probably be avoided.
5 of 5 people found the following review helpful
Fulfills what the title promises 7 Sept. 2011
By Per Holst - Published on
Format: Paperback
The only book out there on Gradle, and it is relatively new published July 2011. At 110 pages it is rather short, and doesn't cover everything about Gradle - it's not a 'Complete guide to Gradle', but the 6 chapters does cover the basics in the obvious ways:

Hello, Gradle!
Gradle Tasks
Ant and Gradle
Maven and Gradle
Testing with Gradle
Multiproject Builds

The book does provide pointers for migrating from e.g. Maven to Gradle. As I'm not intimately familiar with neither Maven nor Gradle, I can't really say if it is sufficient to jump from Ant directly into Gradle, or if a quick pit-stop in the Maven (3?) camp is beneficial.

There are a few kind of typos in the book, e.g. Example 1-5 the src directory seems to be a subdirectory of the build.gradle file, this is fixed in Example 1-6 though.

There's also a minor issue with the doFirst() method - I'd suggest saying that this would prepend or prefix the closure to the existing block as opposed to saying appending to the beginning.

The book is more concise and better organized than the Gradle user guide which seems to do a halfbaked description, then referring to a later chapter.

Running some modified examples from the book - not from the github repository - I experienced a rather detrimental blow up when applying the plugins for Scala and Groovy. The compiler dependencies need to be added to the build file.

Being the only book on the subject it's sad that it's not a Complete Guide, but it does fulfill what the title promises, it's just not enough. An okay read though.
4 of 4 people found the following review helpful
Good for beginners 17 Sept. 2011
By Will Gilbert - Published on
Format: Paperback Verified Purchase
As with the other reviewers I was happy to finally see a book on Gradle but was underwhelmed by the content. This is a good book for beginners and I have recommended it to my friends at work. Am looking forward to a more comprehensive 'Complete Guide to ...' book in the future. My advice to those interested in learning Gradle -- jump right in and do a simple project. You're going to be impressed by how much you can do in so little time. You will also be impressed how the Gradle build system gets out of the way and works with the developer. Learn the difference between the configuration phase and the execution phase and you'll have no trouble writing tasks.
Much too basic to be useful, but also not written for beginners 6 Nov. 2013
By Eric F - Published on
Format: Paperback
As others have written here, this book is not useful for either getting up to speed or for learning to do anything useful. The examples are too basic, too contrived, and the book presupposes the readers has experience in Ant and Maven.

This book is more like a detailed sales pamphlet than a tutorial or reference text. I'm not even sure I want to place it on the team's library shelf, lest someone else waste their time reading it.
Were these reviews helpful? Let us know