Package org.gradle.api.artifacts
Schnittstelle VersionCatalog
- Alle Superschnittstellen:
Named
Provides access to a version catalog. Unlike generated extension
classes for catalogs, there is no guarantee that the requested
aliases exist, so you must check existence on the returned optional
values.
- Seit:
- 7.0
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.gradle.api.Named
Named.Namer -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfindBundle(String alias) Returns the provider for the corresponding bundle alias.findLibrary(String alias) Returns the dependency provider for the corresponding library alias.findPlugin(String alias) Returns the plugin dependency provider for the requested alias.findVersion(String alias) Returns the version constraint with the corresponding alias in the catalog.Returns the list of bundles defined in this version catalog.Returns the list of aliases defined in this version catalog.Returns the list of plugin aliases defined in this version catalog.Returns the list of version aliases defined in this version catalog.
-
Methodendetails
-
findLibrary
Returns the dependency provider for the corresponding library alias.Note: Alias will be automatically normalized: '-', '_' and '.' will be replaced with '.'
- Parameter:
alias- the alias of the library- Seit:
- 7.4
-
findBundle
Returns the provider for the corresponding bundle alias.Note: Bundle will be automatically normalized: '-', '_' and '.' will be replaced with '.'
- Parameter:
alias- the alias of the bundle
-
findVersion
Returns the version constraint with the corresponding alias in the catalog.Note: Alias will be automatically normalized: '-', '_' and '.' will be replaced with '.'
- Parameter:
alias- the alias of the version
-
findPlugin
Returns the plugin dependency provider for the requested alias.Note: Alias will be automatically normalized: '-', '_' and '.' will be replaced with '.'
- Parameter:
alias- the alias of the plugin- Seit:
- 7.2
-
getLibraryAliases
Returns the list of aliases defined in this version catalog.Note: Returned aliases are normalized: '-', '_' and '.' have been replaced with '.'
- Gibt zurück:
- the list of library aliases
- Seit:
- 7.4
-
getBundleAliases
Returns the list of bundles defined in this version catalog.Note: Returned aliases are normalized: '-', '_' and '.' have been replaced with '.'
- Gibt zurück:
- the list of bundle aliases
- Seit:
- 7.1
-
getVersionAliases
Returns the list of version aliases defined in this version catalog.Note: Returned aliases are normalized: '-', '_' and '.' have been replaced with '.'
- Gibt zurück:
- the list of version aliases
- Seit:
- 7.1
-
getPluginAliases
Returns the list of plugin aliases defined in this version catalog.Note: Returned aliases are normalized: '-', '_' and '.' have been replaced with '.'
- Gibt zurück:
- the list of plugin aliases
- Seit:
- 7.2
-