variant
abstract fun <T> variant(attribute: Attribute<T>, attributeValue: T, action: Action<in VariantVersionMappingStrategy>)(source)
Configures the version mapping strategy for the variant which matches the provided attribute value.
Parameters
attribute
the attribute to find
attribute Value
the attribute value
action
the configuration action