For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

VersionCatalogsExtension

Gives access to all version catalogs available.

Since

7.0

Functions

Link copied to clipboard
abstract fun find(name: String): Optional<VersionCatalog>
Tries to find a catalog with the corresponding name
Link copied to clipboard
open fun forEach(action: Consumer<in T>)
Link copied to clipboard
abstract fun getCatalogNames(): Set<String>
Returns the list of catalog names
Link copied to clipboard
abstract fun iterator(): Iterator<T>
Link copied to clipboard
open fun named(name: String): VersionCatalog
Returns the catalog with the supplied name or throws an exception if it doesn't exist.
Link copied to clipboard