In this chapter, we discussed the support for a Java project in Gradle. With a simple line needed to apply the Java plugin, we get masses of functionality, which we can use for our Java code. We can compile our source files, package the compiled code into a JAR file, and generate the documentation.
In the next chapter, we will see how to add dependencies to external libraries. We will also discuss how to configure repositories and organize our dependencies with configurations.