appendix B. Gradle

B.1 Installing Gradle

Gradle runs on all major OSs and requires only an installed Java JDK or JRE version 8 or higher. You can download the Gradle distribution from At the time of writing, the latest version was 6.0.1. For our purpose, downloading the binary distribution will be enough. You can choose to make operations with the help of the IDE and the Gradle plugin, but our demonstration will be made through the command line, better touching the functionalities.

As Windows is the most commonly used OS, our example configuration details are on Windows. Concepts such as the path, environment variables, and the command prompt also exist in other OSs. Please follow your documentation guidelines if ...

Get JUnit in Action, Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.