Gradle Essentials

 Gradle Essentials

Table of Contents

Gradle Essentials Credits About the Authors Acknowledgments About the Reviewers

Support files, eBooks, discount offers, and more Why subscribe? Free access for Packt account holders

Preface What this book covers What you need for this book Who this book is for Conventions Reader feedback Customer support Downloading the example code Errata Piracy Questions

1. Running Your First Gradle Task Installing Gradle Installing manually Installing on Mac OS X and Linux Installing on Windows Alternate methods of installing Gradle Installing via OS-specific package managers Mac OS X Linux (Ubuntu)

Windows Installing via SDKMAN Verifying the installation Setting JVM options The Gradle command-line interface The first Gradle build script Task name abbreviation Gradle Daemon Gradle Wrapper Generating wrapper files Running a build via wrapper Summary 2. Building Java Projects Building a simple Java project Creating a build file Adding source files Building the project A brief introduction to plugins Unit testing Adding a unit test source Adding the JUnit to the classpath Running the test Viewing test reports Fitting tests in the workflow Bundling an application distributable Running the application with Gradle Building the distribution archive Generating IDE project files Summary 3. Building a Web Application Building a simple Java web project

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download