Summary

In this chapter we have learned about dependency management support in Gradle. We have seen 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 those files. Gradle allows very flexible repository configurations to be used.

Finally, we saw how to define the actual dependencies for a dependency configuration. We learned how to resolve version conflicts between dependencies and how to use those dependencies in a Gradle build.

In the next chapter, we will look at how we can run tests for our code and how we can execute Java applications from our build. We will also learn how we can publish our own project to a repository.

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

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