Summary

In this chapter, we have discussed how we should configure continuous integration tools, such as Jenkins, JetBrains TeamCity, and Atlassian Bamboo, to build our Java project with Gradle.

Jenkins and TeamCity have good support for Gradle builds. We can choose to use either a locally-installed Gradle version or the Gradle task wrapper scripts. Defining which tasks to run is easy.

Bamboo has no real support for Gradle builds. We can use the script build option and Gradle task wrapper support to work around this. This way, we can still run Gradle builds with Bamboo.

In the next chapter, we will discuss how to integrate Gradle with Integrated Development Environments (IDEs) such as Eclipse and JetBrains IntelliJ IDEA.

Get Gradle Effective Implementations Guide - Second Edition 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.