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.

In chapter 7, we’ll turn our attention to the important topic of testing. You’ll see how easy it is to write, organize, and execute unit, integration, and functional tests, while at the same time picking and choosing the tooling of your choice. Chapter 8 demonstrates Gradle’s extension mechanism by example. You’ll learn how to abstract complex logic for deploying your sample application to a cloud service. We’ll touch on all facets of the extension model, from custom tasks and script and binary plugins, to exposing your own configuration language. Because Gradle goes hand in hand with popular build tools like Ant and Maven, chapter 9 is dedicated to helping you translate existing build logic from one tool to another, identify integration points, and depict migration strategies.

Once you’ve finished this part of the book, you’ll be able to apply Gradle’s core concepts to a real-world project. In part 3, we’ll discuss the use of Gradle with other tools of the build and delivery ecosystem.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
54.82.44.149