api / org.gradle.api.attributes / AttributeCompatibilityRule

AttributeCompatibilityRule

@Incubating interface AttributeCompatibilityRule<T : Any> : Action<CompatibilityCheckDetails<T>>

A rule that determines whether a given attribute value is compatible some provided attribute value.

Parameters

- The attribute value type.

Since
4.0

Inherited Functions

execute

abstract fun execute(t: T): Unit

Performs this action against the given object.