usage

abstract fun usage(usage: String, action: Action<in VariantVersionMappingStrategy>)(source)

A short hand method to configure the variants which matches the provided Usage attribute. This is the recommended way to configure the mapping strategy for the general case.

Parameters

usage

the usage to look for

action

the configuration action