IvyArtifactRepository
, MavenArtifactRepository
public interface MetadataSupplierAware
Modifier and Type | Method | Description |
---|---|---|
void |
setComponentVersionsLister(Class<? extends ComponentMetadataVersionLister> lister) |
Sets a custom component versions lister.
|
void |
setComponentVersionsLister(Class<? extends ComponentMetadataVersionLister> lister,
Action<? super ActionConfiguration> configureAction) |
Sets a custom component versions lister.
|
void |
setMetadataSupplier(Class<? extends ComponentMetadataSupplier> rule) |
Sets a custom metadata rule, which is capable of supplying the metadata of a component (status, status scheme, changing flag)
whenever a dynamic version is requested.
|
void |
setMetadataSupplier(Class<? extends ComponentMetadataSupplier> rule,
Action<? super ActionConfiguration> configureAction) |
Sets a custom metadata rule, possibly configuring the rule.
|
void setMetadataSupplier(Class<? extends ComponentMetadataSupplier> rule)
rule
- the class of the rule. Gradle will instantiate a new rule for each dependency which requires metadata.void setMetadataSupplier(Class<? extends ComponentMetadataSupplier> rule, Action<? super ActionConfiguration> configureAction)
rule
- the class of the rule. Gradle will instantiate a new rule for each dependency which requires metadata.configureAction
- the action to use to configure the rule.void setComponentVersionsLister(Class<? extends ComponentMetadataVersionLister> lister)
lister
- the class of the lister.void setComponentVersionsLister(Class<? extends ComponentMetadataVersionLister> lister, Action<? super ActionConfiguration> configureAction)
lister
- the class of the lister.configureAction
- the action to use to configure the lister.