Summary

In this chapter, we first developed a web application using Gradle. We generated the WAR artifact by building the application and then deployed it to a local Tomcat. Then, we learned a few basics about dependency management, configurations, and supported repositories in Gradle.

Note

The reader should spend some more time reading these concepts in detail at Gradle's official documentation at https://docs.gradle.org/current/userguide/userguide .

For now, we should be good to build the most common type of Java applications with Gradle. In the next chapter, we will try to understand the Groovy DSL that Gradle provides and also understand the basic project model.

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.