Summary

In this chapter, we looked at several ways to add dependencies to an Android project. We learned about repositories, all the forms they can come in, and how we can depend on files without using repositories.

You now also know about some important concepts regarding dependencies, namely configurations, semantic versioning, and dynamic versions.

We have mentioned build variants on several occasions already, and in the next chapter, we will finally explain what build variants are, and why they are useful. Build variants can make it easier to develop, test, and distribute apps. Understanding how variants work can significantly speed up your development and distribution process.

Get Gradle for Android now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.