toggle menu
gradle
8.12
API
switch theme
search in API
gradle
/
org.gradle.api.artifacts
/
VersionCatalogsExtension
Version
Catalogs
Extension
API
interface
VersionCatalogsExtension
:
Iterable
<
T
>
(
source
)
Gives access to all version catalogs available.
Since
7.0
Members
Functions
find
Link copied to clipboard
API
abstract
fun
find
(
name
:
String
)
:
Optional
<
VersionCatalog
>
Tries to find a catalog with the corresponding name
for
Each
Link copied to clipboard
API
open
fun
forEach
(
action
:
Consumer
<
in
T
>
)
get
Catalog
Names
Link copied to clipboard
API
abstract
fun
getCatalogNames
(
)
:
Set
<
String
>
Returns the list of catalog names
iterator
Link copied to clipboard
API
abstract
fun
iterator
(
)
:
Iterator
<
T
>
named
Link copied to clipboard
API
open
fun
named
(
name
:
String
)
:
VersionCatalog
Returns the catalog with the supplied name or throws an exception if it doesn't exist.
spliterator
Link copied to clipboard
API
open
fun
spliterator
(
)
:
Spliterator
<
T
>