gradle
8.6

# setComponentVersionsLister

abstract fun setComponentVersionsLister(lister: Class<out ComponentMetadataVersionLister>)(source)

Sets a custom component versions lister. A versions lister will be called whenever a dynamic version is requested.

#### Parameters

lister

the class of the lister.

abstract fun setComponentVersionsLister(lister: Class<out ComponentMetadataVersionLister>, configureAction: Action<out Any>)(source)

Sets a custom component versions lister. A versions lister will be called whenever a dynamic version is requested.

#### Parameters

lister

the class of the lister.

configureAction

the action to use to configure the lister.