Package org.gradle.api.artifacts
@NonNullApi
package org.gradle.api.artifacts
Classes for declaring and using artifacts and artifact dependencies.
-
ClassDescriptionA collection of artifacts resolved for a configuration.The identifier for a module artifact.A
ResolverContaineris responsible for managing a set ofArtifactRepositoryinstances.A view over the artifacts resolved for this set of dependencies.Configuration for a defined artifact view.To model a module in your dependency declarations.Provides a read-only view of a resolved component's metadata, which typically originates from a component descriptor (Ivy file, Maven POM).A component metadata builder.Describes a resolved component's metadata, which typically originates from a component descriptor (Ivy file, Maven POM).A component metadata rule is responsible for providing the initial metadata of a component from a remote repository, in place of parsing the descriptor.A component metadata rule details, giving access to the identifier of the component being resolved, the metadata builder, and the repository resource accessor for this.Contains immutable component module metadata information.Contains and allows configuring component module metadata information.Represents a tuple of the component selector of a module and a candidate version to be evaluated in a component selection rule.Represents a container for component selection rules.APublishArtifactwhose properties can be modified.AConfigurationrepresents a group of artifacts and their dependencies.ANamernamer for configurations that returnsConfiguration.getName().The states a configuration can be into.AConfigurationContaineris responsible for declaring and managing configurations.Represents the outgoing artifacts associated with a configuration.Represents some variant of an outgoing configuration.Describes the dependencies of a variant declared in a resolved component's metadata, which typically originate from a component descriptor (Gradle metadata file, Ivy file, Maven POM).ADependencyrepresents a dependency on the artifacts from a particular source.AnArtifactrepresents an artifact included in aDependency.Represents a constraints over all, including transitive, dependencies.Describes a dependency declared in a resolved component's metadata, which typically originates from a component descriptor (Gradle metadata file, Ivy file, Maven POM).ADependencyResolutionListeneris notified as dependencies are resolved.Provides details about a dependency when it is resolved.A set of artifact dependencies.Provides means to substitute a different dependency during resolution.Allows replacing dependencies with other dependencies.Provides a DSL-friendly mechanism for specifying the target of a substitution.AnExcludeRuleis used to describe transitive dependencies that should be excluded when resolving dependencies.A container for adding exclude rules for dependencies.AnExternalDependencyis aDependencyon a source outside the current project hierarchy.AModuleDependencyis aDependencyon a module outside the current project hierarchy.AFileCollectionDependencyis aDependencyon a collection of local files which are not stored in a repository.Resolved configuration that does not fail eagerly when some dependencies are not resolved, or some artifacts do not exist.AModuleDependencyis aDependencyon a module outside the current project.The identifier of a module.The identifier of a module version.Selects a module version.A configurable version constraint.AProjectDependencyis aDependencyon another project in the current project hierarchy.APublishArtifactis an artifact produced by a project.A set of artifacts to be published.APublishExceptionis thrown when a dependency configuration cannot be published for some reason.Defines the strategies around dependency resolution.Defines the sort order for components and artifacts produced by the configuration.A set ofDependencyobjects which can be resolved to a set of files.Information about a resolved artifact.AResolvedConfigurationrepresents the result of resolving aConfiguration, and provides access to both the artifacts and the meta-data of the result.Information about a resolved dependency.Represents meta-data about a resolved module version.AResolveExceptionis thrown when dependency resolution fails for some reason.ASelfResolvingDependencyis aDependencywhich is able to resolve itself, independent of a repository.AnUnknownConfigurationExceptionis thrown when a configuration referenced by name cannot be found.AnUnknownRepositoryExceptionis thrown when a repository referenced by name cannot be found.Unsuccessfully resolved dependency.Represents the metadata of one variant of a component, seeComponentMetadataDetails.withVariant(String, Action).Represents a constrained version.