Chapter 4. Using Gradle for Java Projects
We have seen how we can write tasks in a Gradle build and how we can execute them, but we haven't seen how we can do real-life tasks such as compiling source code or testing with Gradle.
In this chapter, we will learn how we can use the Gradle Java plugin to get tasks for compiling and packaging a Java project. We will also see how Gradle's build-by-convention features make it very easy to start and work with source code.