# setMetadataSupplier

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

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

#### Since

4.9

#### See also

MetadataSupplierAware.setMetadataSupplier