Chapter 5. Dependency Management

One of the most important features of any software is managing dependencies. As we know, no software works in isolation and we usually depend on third-party or open source libraries. The libraries are required during the compile and runtime execution and they have to be available in the classpath. Gradle has excellent support for dependency management. We just need to write few lines of code in the build file and Gradle internally does all the heavy lifting of managing configurations.

In this chapter, we will go into details of dependency management of Gradle. We will discuss the different features such as how to manage project dependencies, resolving conflicts, and resolution strategies. We will also discuss how ...

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.