VariantMetadata

Represents the metadata of one variant of a component, see withVariant.

Functions

Link copied to clipboard
abstract fun attributes(action: Action<out Any>): SELF
Link copied to clipboard
Link copied to clipboard
abstract fun withCapabilities(action: Action<out Any>)
Register a rule that modifies the capabilities of this variant.
Link copied to clipboard
abstract fun withDependencies(action: Action<out Any>)
Register a rule that modifies the dependencies of this variant.
Link copied to clipboard
abstract fun withDependencyConstraints(action: Action<out Any>)
Register a rule that modifies the dependency constraints of this variant.
Link copied to clipboard
abstract fun withFiles(action: Action<out Any>)
Register a rule that modifies the artifacts of this variant.