api / org.gradle.api.artifacts / ComponentMetadataVersionLister

ComponentMetadataVersionLister

@Incubating interface ComponentMetadataVersionLister : Action<ComponentMetadataListerDetails>

Interface for custom version listers. A version lister is reponsible for returning the list of versions of a module which are available in a specific repository. For this, Gradle is going to call the lister once for each module it needs the list of versions. This will typically happen in case a dynamic version is requested, in which case we need to know the list of versions published for this module. It will not, however, be called for fixed version numbers.

Since
4.9

Functions

execute

abstract fun execute(details: ComponentMetadataListerDetails): Unit

Perform a version listing query