Skip to content
Commitwise
Menu

Version catalog

A Gradle file, usually gradle/libs.versions.toml, that lists every library, plugin and version once for all modules.

Definition

Modules refer to entries by name (libs.retrofit) instead of repeating coordinates and versions, so a whole project uses one version of each library and updates are one-line changes. Catalogs also define bundles and plugin aliases.

In practice

Bumping retrofit = "2.11.0" in the catalog updates the network, data and test modules at once.

Learn it in context

Lessons that use this term.

Related terms

Esc

Type to search the whole site.