@Incubating interface CapabilitiesMetadata
Gives access to the list of capabilities of a component.
Since
4.7
abstract fun getCapabilities(): MutableList<out Capability>
Returns an immutable view of the capabilities. |
interface MutableCapabilitiesMetadata : CapabilitiesMetadata
Describes the capabilities of a component in a mutable way. This interface can be used to adjust the capabilities of a published component via metadata rules (see org.gradle.api.artifacts.dsl.ComponentMetadataHandler. |