It is good practice to have a continuous integration tool in a software project. With a continuous integration tool, we can automatically build our software in a controlled environment. In this chapter, we are going to take a look at the support for Gradle in several continuous integration tools.
First, we are going to create a sample Java project and use Git as a version control repository. Then, we are going to see how continuous integration servers, such as Jenkins, JetBrains TeamCity, and Atlassian Bamboo, support Gradle.
We will cover the following topics in this chapter:
Creating a sample Java project
Using Gradle with Jenkins
Running Gradle tasks with JetBrains TeamCity
Learning how to set up Atlassian Bamboo for Gradle