api / org.gradle.api.artifacts / ComponentMetadataListerDetails

ComponentMetadataListerDetails

@Incubating interface ComponentMetadataListerDetails

Allows a custom version lister to specify the list of versions known for a specific module.

Since
4.9

Functions

getModuleIdentifier

abstract fun getModuleIdentifier(): ModuleIdentifier

Gives access to the module identifier for which the version lister should return the list of versions.

listed

abstract fun listed(versions: MutableList<String>): Unit

List the versions of the requested component.