gradle
8.3

# setComponentVersionsLister

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

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>)

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.