In this chapter, we discussed dependency management support in Gradle. We also saw how to create a dependency configuration or use dependency configurations provided by a plugin.
To get the real dependency artifacts and their transitive dependencies, we must define repositories that store these files. Gradle allows very flexible repository configurations to be used.
Finally, we saw how to define the actual dependencies for a dependency configuration. We discussed how to resolve version conflicts between dependencies and use these dependencies in a Gradle build.
In the next chapter, we will look at how to run tests for our code and execute Java applications from our build. We will also discuss how to publish our own project to a repository.