Project dependencies

In real life, we work on a lot more complex applications than what we have just seen. Such applications rely on other specialized components to provide some functionality. For example, an Enterprise Java application's build may depend on various components such as open source libraries in Maven central, libraries developed and hosted in-house, and (maybe) even on another subprojects. Such dependencies are, themselves, located at various locations like, local intranet, local filesystem, and so on. They need to be resolved, downloaded, and brought into the appropriate configuration (such as compile, testCompile, and so on) of the build.

Gradle does an excellent job in locating and making dependencies available in the appropriate ...

Get Gradle Essentials now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.