![]() In the libraries block, define your dependencies.You use these variables in the subsequent blocks In the versions block, define variables that hold the versions of yourĭependencies and plugins.Note: It's possible to change the catalog file name however, this requiresĬhanging your build files, so we don't recommend doing it. In your root project's gradleįolder, create a file called. Start by creating a version catalog file. To learn more, see the Gradle documentation. This page provides basic information about migrating your Android app to Version catalog of dependencies that various modules can reference inĪ type-safe way with Android Studio assistance. ![]() Instead of hardcodingĭependency names and versions in individual build files and updating eachĮntry whenever you need to upgrade a dependency, you can create a central Using Gradle version catalogs makes managing dependencies and plugins easier ![]() Enable you to add and maintain dependencies and plugins in a scalable way. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |