VersionCatalog

data class VersionCatalog(val name: String, val plugins: List<CatalogEntry> = emptyList(), val libraries: List<CatalogEntry> = emptyList())(source)

The version catalogs declared for the build.

Read through Gradle's own VersionCatalogsExtension rather than by parsing libs.versions.toml, so the values are exactly what the build resolves - including catalogs under a non-default name or assembled programmatically.

Parameters

name

Catalog name, usually "libs".

plugins

Plugin aliases and the plugin ids they resolve to.

libraries

Library aliases and the coordinates they resolve to.

Constructors

Link copied to clipboard
constructor(name: String, plugins: List<CatalogEntry> = emptyList(), libraries: List<CatalogEntry> = emptyList())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard