Package-level declarations

Classes for declaring and using artifacts and artifact dependencies.

Types

Link copied to clipboard
A collection of artifacts resolved for a configuration.
Link copied to clipboard
The identifier for a module artifact.
Link copied to clipboard
A ResolverContainer is responsible for managing a set of ArtifactRepository instances.
Link copied to clipboard
Details about artifact dependency substitution: this class gives access to the original dependency requested artifacts, if any, and gives the opportunity to replace the original requested artifacts with other artifacts.
Link copied to clipboard
A view over the artifacts resolved for this set of dependencies.
Link copied to clipboard
Declares a rule eligible for caching.
Link copied to clipboard
Allows configuring the capabilities resolution strategy.
Link copied to clipboard
Gives access to the resolution details of a single capability conflict.
Link copied to clipboard
To model a module in your dependency declarations.
Link copied to clipboard
Provides a read-only view of a resolved component's metadata, which typically originates from a component descriptor (Ivy file, Maven POM).
Link copied to clipboard
A component metadata builder.
Link copied to clipboard
Provides access to component metadata from a ComponentMetadataRule.
Link copied to clipboard
Describes a resolved component's metadata, which typically originates from a component descriptor (Ivy file, Maven POM).
Link copied to clipboard
Allows a custom version lister to specify the list of versions known for a specific module.
Link copied to clipboard
A rule that modify component metadata.
Link copied to clipboard
A component metadata rule is responsible for providing the initial metadata of a component from a remote repository, in place of parsing the descriptor.
Link copied to clipboard
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.
Link copied to clipboard
Interface for custom version listers.
Link copied to clipboard
Contains immutable component module metadata information.
Link copied to clipboard
Contains and allows configuring component module metadata information.
Link copied to clipboard
Represents a tuple of the component selector of a module and a candidate version to be evaluated in a component selection rule.
Link copied to clipboard
Represents a container for component selection rules.
Link copied to clipboard
Identifies a variant of a component by module identifier and variant name.
Link copied to clipboard
A PublishArtifact whose properties can be modified.
Link copied to clipboard
A Configuration represents a group of artifacts and their dependencies.
Link copied to clipboard
A ConfigurationContainer is responsible for declaring and managing configurations.
Link copied to clipboard
Represents the outgoing artifacts associated with a configuration.
Link copied to clipboard
Represents some variant of an outgoing configuration.
Link copied to clipboard
A Configuration which can be consumed via Publishing and Dependency Management.
Link copied to clipboard
Describes metadata about a dependency - direct dependencies or dependency constraints - declared in a resolved component's metadata.
Link copied to clipboard
interface Dependency
A Dependency represents a dependency on the artifacts from a particular source.
Link copied to clipboard
An Artifact represents an artifact included in a org.gradle.api.artifacts.Dependency.
Link copied to clipboard
Details about an artifact selection in the context of a dependency substitution.
Link copied to clipboard
Represents a constraints over all, including transitive, dependencies.
Link copied to clipboard
Describes a dependency constraint declared in a resolved component's metadata, which typically originates from a component descriptor (Gradle metadata file).
Link copied to clipboard
A set of dependency constraint definitions that are associated with a configuration.
Link copied to clipboard
Describes the dependency constraints of a variant declared in a resolved component's metadata, which typically originate from a component descriptor (Gradle metadata file).
Link copied to clipboard
Describes a metadata about a dependency - direct dependency or dependency constraint - declared in a resolved component's metadata.
Link copied to clipboard
A DependencyResolutionListener is notified as dependencies are resolved.
Link copied to clipboard
Provides details about a dependency when it is resolved.
Link copied to clipboard
A Configuration which collects dependencies, dependency constraints, and exclude rules.
Link copied to clipboard
A set of artifact dependencies.
Link copied to clipboard
Provides means to substitute a different dependency during resolution.
Link copied to clipboard
Allows replacing dependencies with other dependencies.
Link copied to clipboard
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).
Link copied to clipboard
Describes a dependency declared in a resolved component's metadata, which typically originates from a component descriptor (Gradle metadata file, Ivy file, Maven POM).
Link copied to clipboard
interface ExcludeRule
An ExcludeRule is used to describe transitive dependencies that should be excluded when resolving dependencies.
Link copied to clipboard
A container for adding exclude rules for dependencies.
Link copied to clipboard
An ExternalDependency is a Dependency on a source outside the current project hierarchy.
Link copied to clipboard
A ModuleDependency is a Dependency on a module outside the current project hierarchy.
Link copied to clipboard
A bundle is a list of dependencies which are always added together.
Link copied to clipboard
A FileCollectionDependency is a Dependency on a collection of local files which are not stored in a repository.
Link copied to clipboard
Resolved configuration that does not fail eagerly when some dependencies are not resolved, or some artifacts do not exist.
Link copied to clipboard
The minimal information Gradle needs to address an external module.
Link copied to clipboard
A ModuleDependency is a org.gradle.api.artifacts.Dependency on a module outside the current project.
Link copied to clipboard
The capabilities requested for a dependency.
Link copied to clipboard
The identifier of a module.
Link copied to clipboard
The identifier of a module version.
Link copied to clipboard
Selects a module version.
Link copied to clipboard
Mutable information about the files that belong to a variant.
Link copied to clipboard
A configurable version constraint.
Link copied to clipboard
A ProjectDependency is a Dependency on another project in the current project hierarchy.
Link copied to clipboard
A PublishArtifact is an artifact produced by a project.
Link copied to clipboard
A set of artifacts to be published.
Link copied to clipboard
A PublishException is thrown when a dependency configuration cannot be published for some reason.
Link copied to clipboard
Defines the strategies around dependency resolution.
Link copied to clipboard
A Configuration which performs dependency resolution to build dependency graphs and resolve artifacts.
Link copied to clipboard
A set of Dependency objects which can be resolved to a set of files.
Link copied to clipboard
Information about a resolved artifact.
Link copied to clipboard
A ResolvedConfiguration represents the result of resolving a Configuration, and provides access to both the artifacts and the meta-data of the result.
Link copied to clipboard
Information about a resolved dependency.
Link copied to clipboard
Represents meta-data about a resolved module version.
Link copied to clipboard
open class ResolveException : DefaultMultiCauseException
A ResolveException is thrown when dependency resolution fails for some reason.
Link copied to clipboard
A SelfResolvingDependency is a Dependency which is able to resolve itself, independent of a repository.
Link copied to clipboard
An UnknownConfigurationException is thrown when a configuration referenced by name cannot be found.
Link copied to clipboard
An UnknownRepositoryException is thrown when a repository referenced by name cannot be found.
Link copied to clipboard
Unsuccessfully resolved dependency.
Link copied to clipboard
Part of a component variant's metadata representing a file and its location.
Link copied to clipboard
Represents the metadata of one variant of a component, see withVariant.
Link copied to clipboard
Allows configuring the variant-aware selection aspects of a specific dependency.
Link copied to clipboard
Provides access to a version catalog.
Link copied to clipboard
Gives access to all version catalogs available.
Link copied to clipboard
Represents a constraint that is used to match module versions to a dependency.