Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Source code for the Manning book "Gradle in Action"
branch: master

This branch is 102 commits behind bmuschko:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
buildSrc
chapter01
chapter02
chapter03
chapter04
chapter05
chapter06
chapter07
chapter08
chapter09
chapter10
chapter11
chapter12
chapter13
gradle/wrapper
.gitignore
README.md
build.gradle
gradlew
gradlew.bat

README.md

Source code for "Gradle in Action"

The source code is organized into individual chapters. Chapter 1 contains Ant and Maven build scripts. Please refer to the build tool's online manual for instructions to install the runtime and execute the build script. You can find more information here:

Starting with chapter 2, all source code can be run using the Gradle Wrapper which means no runtime will have to be installed. For example to run the "Hello World" build script from chapter 2 open a shell/command prompt and navigate to the directory. You can execute the build script by referencing the Gradle Wrapper command line script and providing the task you would like to run.

Windows:

> cd gradle-in-action-source/chapter02/helloworld-task-doLast
> ../../gradlew.bat helloWorld

*nix:

$ cd gradle-in-action-source/chapter02/helloworld-task-doLast 
$ ../../gradlew helloWorld
Something went wrong with that request. Please try again.