Summary

In this chapter, we discussed some basic fundamental concepts. We learned about concepts of classes, methods, beans, collection frameworks, and closures. We also developed a markup builder to produce XML files. This was indeed a very short introduction to Groovy. However, in my opinion this introduction should be good enough to write Gradle scripts for your projects.

From the next chapter onwards, we will start exploring the core features of Gradle. In the next chapter, we will learn task management in Groovy. We will take a close look at the different in-built tasks supported by Gradle. We will also learn about task dependencies and task configurations. Then we will create some custom tasks for build scripts.

Get Mastering Gradle 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.