O'Reilly logo

Introducing Gradle by Sudha Belida, Balaji Varanasi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 6

image

Dependency Management

Software projects are rarely built in isolation. They either depend on internal projects or other open source libraries. This chapter looks at how Gradle helps you effectively manage these dependencies. You will learn about the different types of dependencies, as well as learn how to group dependencies and resolve dependency conflicts. You will also review repositories that store artifacts.

Declarative Dependency Management

Consider the scenario where you want to use Logback (http://logback.qos.ch) in your application for logging. A straightforward approach is to download the logback.jar file from Logback web site ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required