Building and Testing with Gradle and over 1.5 million other books are available for Amazon Kindle . Learn more


or
Sign in to turn on 1-Click ordering.
Trade in Yours
For a Ģ1.20 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Colour:
Image not available

 
Start reading Building and Testing with Gradle on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Building and Testing with Gradle [Paperback]

Tim Berglund , Matthew McCullough

RRP: Ģ18.99
Price: Ģ13.29 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
You Save: Ģ5.70 (30%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 3 left in stock (more on the way).
Dispatched from and sold by Amazon. Gift-wrap available.

Formats

Amazon Price New from Used from
Kindle Edition Ģ8.03  
Paperback Ģ13.29  
Trade In this Item for up to Ģ1.20
Trade in Building and Testing with Gradle for an Amazon.co.uk gift card of up to Ģ1.20, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Special Offer until June 30, 2013: Receive an additional Ģ5 promotional Gift Card, when you trade-in at least Ģ10 worth of books. Learn more

Book Description

13 July 2011 144930463X 978-1449304638 1

Build and test software written in Java and many other languages with Gradle, the open source project automation tool that’s getting a lot of attention. This concise introduction provides numerous code examples to help you explore Gradle, both as a build tool and as a complete solution for automating the compilation, test, and release process of simple and enterprise-level applications.

Discover how Gradle improves on the best ideas of Ant, Maven, and other build tools, with standards for developers who want them and lots of flexibility for those who prefer less structure.

  • Use Gradle with Groovy, Clojure, Scala, and languages beyond the JVM, such as Flex and C
  • Get started building a simple Java program using Gradle's command line tooling and a small build script
  • Learn how to configure and construct tasks, Gradle's fundamental unit of build activity
  • Take advantage of Gradle's integration with Ant
  • Use Gradle to integrate with or transition from Maven, and to build software more cleanly
  • Perform application unit and integration tests using JUnit, TestNG, Spock, and Geb

Frequently Bought Together

Building and Testing with Gradle + Gradle Effective Implementation Guide + Continuous Delivery: Reliable Software Releases Through Build, Test, and Deployment Automation (Addison-Wesley Signature)
Price For All Three: Ģ72.07

Buy the selected items together


Product details


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 GitHub.com, 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

There are no customer reviews yet on Amazon.co.uk.
5 star
4 star
3 star
2 star
1 star
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 3.0 out of 5 stars  6 reviews
11 of 11 people found the following review helpful
2.0 out of 5 stars Too basic to warrant a book 15 Sep 2011
By John Burbridge - Published on Amazon.com
Format:Paperback|Amazon 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.
7 of 7 people found the following review helpful
2.0 out of 5 stars Unsuitable for both build tool beginners and experts 17 April 2012
By Aslag - Published on Amazon.com
Format:Paperback|Amazon 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.
4 of 4 people found the following review helpful
3.0 out of 5 stars Fulfills what the title promises 7 Sep 2011
By Per Holst - Published on Amazon.com
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.
Were these reviews helpful?   Let us know

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Listmania!


Look for similar items by category


Feedback


Amazon.co.uk Privacy Statement Amazon.co.uk Delivery Information Amazon.co.uk Returns & Exchanges