Building and Testing with Gradle
Understanding Next-Generation Builds
Publisher: O'Reilly Media
Final Release Date: July 2011
Pages: 116

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
Table of Contents
Product Details
About the Author
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
O'Reilly MediaBuilding and Testing with Gradle
 
3.0

(based on 4 reviews)

Ratings Distribution

  • 5 Stars

     

    (1)

  • 4 Stars

     

    (1)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (1)

  • 1 Stars

     

    (1)

50%

of respondents would recommend this to a friend.

Pros

  • Concise (3)
  • Easy to understand (3)

Cons

    Best Uses

    • Novice (3)
      • Reviewer Profile:
      • Developer (3)

    Reviewed by 4 customers

    Sort by

    Displaying reviews 1-4

    Back to top

     
    4.0

    Succinct overview of gradle

    By Oehm Smith

    from Canberra, Australia

    About Me Developer

    Verified Reviewer

    Pros

    • Concise
    • Easy to understand
    • Helpful examples
    • Succinct
    • Well-written

    Cons

    • Too short

    Best Uses

    • Intermediate
    • Novice

    Comments about O'Reilly Media Building and Testing with Gradle:

    I was quite impressed with this book and not impressed with a number of the reviews. This book explains a lot in a short space and does it well. Yes, all this information is available in the documentation. But heck, there is 60 or something like that chapters in the documentation! But at only 60 pages in the book (I have an ebook so hard to be specific), it could do with some more to cover a lot of missing information. However it gets across 92% of what you need to know.

    I have been using Ant and Maven for years and highly recommend his book to anyone that has similar knowledge. For someone completely new to build and dependency management systems I would suggest starting with someone else.

    (2 of 3 customers found this review helpful)

     
    1.0

    Not helpful

    By Peter

    from San Fran

    Verified Reviewer

    Comments about O'Reilly Media Building and Testing with Gradle:

    Not happy with it. It's like a manual, not a book.

    (2 of 3 customers found this review helpful)

     
    2.0

    donation to gradle team

    By doulos

    from Germany

    About Me Developer

    Verified Reviewer

    Pros

    • Concise
    • Easy to understand

    Cons

    • Too basic

    Best Uses

    • Novice

    Comments about O'Reilly Media Building and Testing with Gradle:

    everything you read in this book can be easily deducted from the online documentation. The book is rather short (80 pages) and dedicates a significant part to ever-repeating praises of the advantages of gradle. Look at it as a donation to the gradle team

    (16 of 17 customers found this review helpful)

     
    5.0

    Get started with Gradle in no time

    By sandyboy55

    from St Louis, MO

    About Me Developer

    Verified Reviewer

    Pros

    • Accurate
    • Concise
    • Easy to understand
    • Helpful examples
    • Well-written

    Cons

      Best Uses

      • Expert
      • Intermediate
      • Novice
      • Student

      Comments about O'Reilly Media Building and Testing with Gradle:

      My first reaction when I heard of Gradle was a sarcastic "Yay! Yet another build tool that will frustrate me when I use it on my enterprise projects". However, as I read through this book, I found a new promise to liberate me from the complex world of Maven. The authors have done a fantastic job of explaining how Gradle provides the flexibility of Ant, dependency management style of Ivy, the intelligent defaults of Maven, the speed and hashing of Git, and the meta-programming power of Groovy.

      Highlights of this book:

      - Easy to follow, lots of examples. I was able to run most of the examples without any hassle.

      - You don't have to know Groovy to understand this book

      - The last chapter covers how to do enterprise level multi-project builds. That was really helpful.

      - No clutter or unnecessary information that you can find elsewhere. Nice, small book of 110 pages.

      - I was able to complete this book in about 3 hours and I am a slow reader!

      I had the pleasure of attending the No Fluff Just Stuff conference in 2011 and boy, was I impressed! Both the authors are very well respected in this field. If you have been living in the complex world of Maven where you are afraid to touch something because it might break something else, then this book is of you. If your enterprise is going to continue to use Maven, it does not in any way mean that you cannot unleash the power of Gradle. This book will teach you how to do that. As an added bonus, this book has been reviewed by Ken Sipe, the CTO of Gradleware, someone I know and respect!

      Displaying reviews 1-4

      Back to top

       
      Buy 2 Get 1 Free Free Shipping Guarantee
      Buying Options
      Immediate Access - Go Digital what's this?
      Ebook: $20.99
      Formats:  DAISY, ePub, Mobi, PDF
      Print & Ebook: $27.49
      Print: $24.99