@Incubating interface HasConfigurableAttributes<SELF : Any> : HasAttributes
Represents something that carries attributes by utilizing an AttributeContainer that is configurable.
- type extending this interface
Since
3.4
abstract fun attributes(action: Action<in AttributeContainer>): SELF
Configure the attribute container that provides the attributes associated with this domain object. |
abstract fun getAttributes(): AttributeContainer
Returns the attributes |
interface ComponentMetadataDetails : ComponentMetadata, HasConfigurableAttributes<ComponentMetadataDetails>
Describes a resolved component's metadata, which typically originates from a component descriptor (Ivy file, Maven POM). Some parts of the metadata can be changed via metadata rules (see org.gradle.api.artifacts.dsl.ComponentMetadataHandler. |
|
interface Configuration : FileCollection, HasConfigurableAttributes<Configuration>
A Configuration is an instance of a FileCollection that contains all dependencies (see also |
|
interface ConfigurationPublications : HasConfigurableAttributes<ConfigurationPublications>
Represents the outgoing artifacts associated with a configuration. These artifacts are used when the configuration is referenced during dependency resolution. You can use this interface associate artifacts with a configuration using the An implicit variant is defined for a configuration whenever any artifacts are attached directly to this object or inherited from another configuration. |
|
interface ConfigurationVariant : Named, HasConfigurableAttributes<ConfigurationVariant>
Represents some variant of an outgoing configuration. |
|
interface DependencyConstraint : ModuleVersionSelector, HasConfigurableAttributes<DependencyConstraint>
Represents a constraints over all, including transitive, dependencies. |
|
interface ModuleDependency : Dependency, HasConfigurableAttributes<ModuleDependency>
A For examples on configuring the exclude rules please refer to |
|
interface VariantMetadata : HasConfigurableAttributes<VariantMetadata>
Represents the metadata of one variant of a component, see |
|
interface ViewConfiguration : HasConfigurableAttributes<ViewConfiguration>
Configuration for a defined artifact view. |