Package org.gradle.api.artifacts
Interface VersionCatalogsExtension
- All Superinterfaces:
Iterable<VersionCatalog>
Gives access to all version catalogs available.
- Since:
- 7.0
-
Method Summary
Modifier and TypeMethodDescriptionTries to find a catalog with the corresponding nameReturns the list of catalog namesdefault VersionCatalog
Returns the catalog with the supplied name or throws an exception if it doesn't exist.Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
find
Tries to find a catalog with the corresponding name- Parameters:
name
- the name of the catalog
-
named
Returns the catalog with the supplied name or throws an exception if it doesn't exist. -
getCatalogNames
Returns the list of catalog names- Since:
- 7.2
-