api / org.gradle.api.artifacts / ComponentMetadataSupplier

ComponentMetadataSupplier

@Incubating interface ComponentMetadataSupplier : Action<ComponentMetadataSupplierDetails>

A component metadata rule is responsible for providing the initial metadata of a component from a remote repository, in place of parsing the descriptor. Users may implement a provider to make dependency resolution faster.

Since
4.0

Functions

execute

abstract fun execute(details: ComponentMetadataSupplierDetails): Unit

Supply metadata for a component.