Book description
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
Publisher resources
Table of contents
- Dedication
- Foreword
- Preface
- 1. Hello, Gradle!
- 2. Gradle Tasks
- 3. Ant and Gradle
-
4. Maven and Gradle
- Cue Graven?
- The Maven POM and Gradle Build
- Maven Goals, Gradle Tasks
- The Standard Maven Coordinates, Gradle Properties
- More Gradle Properties
- Dependencies
- Repositories
- Unit Testing
- Multiple Source Directories
- Default Tasks
- The Maven Plug-in
- Installing to the Local Maven Repository (Cache)
- Publishing to a Maven Repository
- Maven2Gradle Build Script Converter
- Maven POM Import
- Conclusion
- 5. Testing with Gradle
- 6. Multiproject Builds
- About the Authors
- Colophon
- Copyright
Product information
- Title: Building and Testing with Gradle
- Author(s):
- Release date: July 2011
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449304638
You might also like
book
Introducing Gradle
This concise book is a quick-start primer on the Gradle build automation tool. It provides a …
book
Mastering Gradle
Master the technique of developing, migrating, and building automation using Gradle In Detail With Gradle, you …
book
Gradle Beyond the Basics
If you’re familiar with Gradle’s basics elements—possibly through the author’s previous O’Reilly book, Building and Testing …
book
Gradle in Action
Gradle in Action is a comprehensive guide to end-to-end project automation with Gradle. Starting with the …