Chapter 6. The Real-world Project with Gradle

Until now, we have discussed about building the Java project, web project, Gradle life cycle, and multi-module feature of Gradle. As we know, before Gradle, there were many other build tools in the market, out of which the most popular ones are Ant and Maven. Since many project build scripts were already written in these two build tools. In this chapter, we will discuss different migration strategies to migrate the projects existing build scripts from Ant, Maven, to Gradle. Along with this, we will also focus on integrating Gradle build script to Continuous Integration tools like Jenkins and generating Java docs for the code.

Migrating from an Ant-based project

Ant is one of the initial and most popular ...

Get Gradle Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.