org.gradle.api.attributes

# Package-level declarations

Classes for dealing with configuration and artifact attributes.

## Types

Attribute
Link copied to clipboard
open class Attribute<T> : Named
An attribute is a named entity with a type.
AttributeCompatibilityRule
Link copied to clipboard
interface AttributeCompatibilityRule<T> : Action<CompatibilityCheckDetails<T>>
A rule that determines whether a given attribute value is compatible some provided attribute value.
AttributeContainer
Link copied to clipboard
interface AttributeContainer : HasAttributes
An attribute container is a container of attributes, which are strongly typed named entities.
AttributeDisambiguationRule
Link copied to clipboard
interface AttributeDisambiguationRule<T> : Action<MultipleCandidatesDetails<T>>
A rule that selects the best value out of a set of candidates.
AttributeMatchingStrategy
Link copied to clipboard
interface AttributeMatchingStrategy<T>
An attribute matching strategy is responsible for providing information about how an Attribute is matched during dependency resolution.
AttributesSchema
Link copied to clipboard
interface AttributesSchema
An attributes schema stores information about attributes and how they can be matched together.
Bundling
Link copied to clipboard
interface Bundling : Named
This attribute describes how dependencies of a component are found.
Category
Link copied to clipboard
interface Category : Named
This attribute describes the categories of variants for a given module.
CompatibilityCheckDetails
Link copied to clipboard
interface CompatibilityCheckDetails<T>
Provides context about attribute compatibility checks, and allows the user to define when an attribute is compatible with another.
CompatibilityRuleChain
Link copied to clipboard
interface CompatibilityRuleChain<T>
A chain of compatibility checks, implemented as action rules.
DisambiguationRuleChain
Link copied to clipboard
interface DisambiguationRuleChain<T>
A chain of disambiguation rules.
DocsType
Link copied to clipboard
interface DocsType : Named
Attributes to qualify the type of documentation.
HasAttributes
Link copied to clipboard
interface HasAttributes
Represents something that carries attributes by utilizing an AttributeContainer
HasConfigurableAttributes
Link copied to clipboard
interface HasConfigurableAttributes<SELF> : HasAttributes
Represents something that carries attributes by utilizing an AttributeContainer that is configurable.
LibraryElements
Link copied to clipboard
interface LibraryElements : Named
Attribute representing the technical elements of a library variant.
MultipleCandidatesDetails
Link copied to clipboard
interface MultipleCandidatesDetails<T>
Provides context about candidates for an attribute.
TestSuiteName
Link copied to clipboard
@Incubating
interface TestSuiteName : Named
Attribute to define the test suite name.
Usage
Link copied to clipboard
interface Usage : Named
Represents the usage of a configuration.
VerificationType
Link copied to clipboard
@Incubating
interface VerificationType : Named
Attribute to be used on variants containing the output verification checks (Test data, Jacoco results, etc) which specify the type of verification data.