all
inline fun <T : ComponentMetadataRule> ComponentMetadataHandler.all(): ComponentMetadataHandler(source)
Adds a class based rule that may modify the metadata of any resolved software component.
Return
this
Parameters
T
the rule to be added
See also
Component Metadata Handler. all
inline fun <T : ComponentMetadataRule> ComponentMetadataHandler.all(configureAction: Action<in ActionConfiguration>): ComponentMetadataHandler(source)
Adds a class based rule that may modify the metadata of any resolved software component. The rule itself is configured by the provided configure action.
Return
this
Parameters
T
the rule to be added
configure Action
the rule configuration
See also
Component Metadata Handler. all
inline fun ComponentMetadataHandler.all(rule: KClass<out ComponentMetadataRule>): ComponentMetadataHandler(source)
inline fun ComponentMetadataHandler.all(rule: KClass<out ComponentMetadataRule>): ComponentMetadataHandler(source)
inline fun ComponentMetadataHandler.all(rule: KClass<out ComponentMetadataRule>, configureAction: Action<in ActionConfiguration>): ComponentMetadataHandler(source)
inline fun ComponentMetadataHandler.all(rule: KClass<out ComponentMetadataRule>, configureAction: Action<in ActionConfiguration>): ComponentMetadataHandler(source)
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.artifacts.dsl.ComponentMetadataHandler.all.
Since
4.9
See also
Component Metadata Handler. all