Chapter 3. Building a Gradle project by example

This chapter covers

  • Building a full-stack Java project with Gradle
  • Practicing efficient web application development
  • Customizing default conventions to adapt to custom requirements
  • Using the Gradle wrapper

Chapter 2 introduced Gradle’s feature set and showed how it compared to other JVM build tools. Some simple examples gave you a first impression of the tool’s expressive build language. By running your first build script, you saw how easy it is to become productive on the command line. Now it’s time to strengthen this newly acquired knowledge by building a real-world Java project.

When starting a brand-new application, Java doesn’t guide you toward a standardized project structure. You may ask ...

Get Gradle in Action 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.