Part 2. Mastering the fundamentals

 

In part 1, you learned Gradle’s core concepts and features by example. Part 2 will boost your knowledge even further. We’ll look at more advanced topics like dependency management, testing an application with Gradle, extending your build with plugins, and many more.

Chapter 4 covers Gradle’s quintessential building blocks for modeling your build. You’ll learn how to declare new tasks, manipulate existing ones, and implement proper abstractions for complex logic. No real-world project can succeed without reusing existing libraries. In chapter 5, you’ll learn how to declare and organize dependencies in a build script. We’ll also cover dependency reporting and version conflict resolution. Modularized software projects pose an additional layer of complexity for modeling your build. Chapter 6 discusses Gradle’s support for multiproject builds.