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
interface ArtifactIdentifier
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
interface ArtifactSelectionDetails
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
annotation class CacheableRule
Declares a rule eligible for caching.
Link copied to clipboard
interface CapabilitiesResolution
Allows configuring the capabilities resolution strategy.
Link copied to clipboard
interface CapabilityResolutionDetails
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
interface ComponentMetadataBuilder
A component metadata builder.
Link copied to clipboard
interface ComponentMetadataContext
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
interface ComponentMetadataListerDetails
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
interface ComponentMetadataSupplierDetails
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
interface ComponentModuleMetadata
Contains immutable component module metadata information.
Link copied to clipboard
Contains and allows configuring component module metadata information.
Link copied to clipboard
interface ComponentSelection
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
interface ComponentSelectionRules
Represents a container for component selection rules.
Link copied to clipboard
interface ComponentVariantIdentifier
Identifies a variant of a component by component 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
interface DependencyArtifact
Data class that represents an artifact included in a org.gradle.api.artifacts.Dependency.
Link copied to clipboard
interface DependencyArtifactSelector
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
interface DependencyResolutionListener
A
DependencyResolutionListener
is notified as dependencies are resolved.Link copied to clipboard
interface DependencyResolveDetails
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
interface DependencySubstitution
Provides means to substitute a different dependency during resolution.
Link copied to clipboard
interface DependencySubstitutions
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
interface ExcludeRuleContainer
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
ExternalModuleDependency
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
interface LenientConfiguration
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 component that exists outside of the current project.Link copied to clipboard
interface ModuleDependencyCapabilitiesHandler
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
interface ModuleVersionSelector
Selects a module version.
Link copied to clipboard
interface MutableVariantFilesMetadata
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
interface ResolutionStrategy
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
The primary view of the results of resolving a Configuration.
Link copied to clipboard
interface ResolvedArtifact
Information about a resolved artifact.
Link copied to clipboard
interface ResolvedConfiguration
A
ResolvedConfiguration
represents the result of resolving a Configuration, and provides access to both the graph and artifacts of the result.Link copied to clipboard
interface ResolvedDependency
Information about a resolved dependency.
Link copied to clipboard
interface ResolvedModuleVersion
Represents meta-data about a resolved module version.
Link copied to clipboard
An opaque exception, 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
interface UnresolvedDependency
Unsuccessfully resolved dependency.
Link copied to clipboard
interface VariantFileMetadata
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
interface VariantSelectionDetails
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.