# setMetadataSupplier

inline fun MetadataSupplierAware.setMetadataSupplier(rule: KClass<out ComponentMetadataSupplier>)
inline fun MetadataSupplierAware.setMetadataSupplier(rule: KClass<out ComponentMetadataSupplier>)
inline fun MetadataSupplierAware.setMetadataSupplier(rule: KClass<out ComponentMetadataSupplier>, configureAction: Action<in ActionConfiguration>)
inline fun MetadataSupplierAware.setMetadataSupplier(rule: KClass<out ComponentMetadataSupplier>, configureAction: Action<in ActionConfiguration>)

Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.artifacts.repositories.MetadataSupplierAware.setMetadataSupplier.

#### Since

4.9

#### See also

MetadataSupplierAware.setMetadataSupplier