gradle
Toggle table of contents
9.1.0-20250628022042+0000
API
Platform filter
API
Switch theme
Search in API
gradle
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
(
p
:
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
>