My Account Log in

1 option

Building and testing with Gradle / Tim Berglund and Matthew McCullough.

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Berglund, Tim.
Contributor:
McCullough, Matthew.
Language:
English
Subjects (All):
Computer programming--Management.
Computer programming.
Computer software--Development--Management.
Computer software.
Open source software.
Physical Description:
1 online resource (110 p.)
Edition:
1st ed.
Place of Publication:
Beijing ; Sebastopol, California : O'Reilly, 2011.
Language Note:
English
System Details:
text file
Summary:
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. <ul
Contents:
Copyright; Dedication; Table of Contents; Foreword; Preface; Introduction; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Acknowledgments from Tim Berglund; Acknowledgments from Matthew McCullough; Chapter 1. Hello, Gradle!; Build Files in Groovy; Domain-Specific Build Languages; Getting Started; MacOS Installation with Brew; Linux and MacOS Installation; Windows Installation; The Hello World Build File; Building a Java Program; The Gradle Command Line; Chapter 2. Gradle Tasks; Declaring a Task; Task Action; Task Configuration; Tasks Are Objects
Methods of DefaultTaskdependsOn(task); doFirst(closure); doLast(closure); onlyIf(closure); Properties of DefaultTask; didWork; enabled; path; logger; logging; description; temporaryDir; Dynamic Properties; Task Types; Copy; Jar; JavaExec; Custom Task Types; Custom Tasks Types in the Build File; Custom Tasks in the Source Tree; Where Do Tasks Come From?; Conclusion; Chapter 3. Ant and Gradle; The Vocabulary; Hello Ant; Importing Custom Ant Tasks; Complex Ant Configuration; Importing an Entire Ant Build File; Ant Target and Gradle Task Codependence; Using AntBuilder; A Harmonic Duo
Chapter 4. Maven and GradleCue 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; Chapter 5. Testing with Gradle; JUnit; TestNG; Spock; Geb and EasyB; Gradle's Testing Focus; Chapter 6. Multiproject Builds; Multiproject Build Structure
Project-Specific Build FilesOne Master Build File; A Hybrid Multiproject Build; Individual, Unified, or Hybrid?; Multiproject Task Structure; Multiple Projects Your Way
Notes:
"Understanding next generation builds"--Cover.
Description based on online resource; title from PDF title page (ebrary, viewed October 9, 2013).
ISBN:
9781449313098
1449313094
9781449313685
144931368X
OCLC:
780425589

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Library Catalog Using Articles+ Library Account