# 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

org.gradle.api.artifacts.dsl.ComponentMetadataHandler.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

#### Type Parameters

T

the rule to be added

#### See also

ComponentMetadataHandler.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

configureAction

the rule configuration

#### Type Parameters

T

the rule to be added

#### See also

ComponentMetadataHandler.all