Book Image

Gradle Dependency Management

By : Hubert Klein Ikkink
Book Image

Gradle Dependency Management

By: Hubert Klein Ikkink

Overview of this book

Table of Contents (14 chapters)
Gradle Dependency Management
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


In this chapter, you learned how to use the new and incubating ivy-publish plugin. You saw how we can declare our publications with the publications configuration block. Gradle will automatically create new tasks based on what we have declared as publications.

You also learned how to customize the Ivy descriptor file that is generated by Gradle publishing tasks.

Finally, you saw how we can configure repositories to deploy our publications to. We used a local directory using the file protocol, and we used the Artifactory and Nexus repository managers.

In this book, we saw how we can define the dependencies we need in our project. You learned how to customize the dependency resolution and how to define the repositories that store the dependencies.

Then, you learned how we can deploy our project as dependencies for others. We saw how we can publish to a Maven repository, including Bintray, and an Ivy repository. You now have the knowledge to manage dependencies in your Java projects with...