Package-level declarations

Classes used in the artifact DSL.

Types

Link copied to clipboard
interface ArtifactHandler
This class is for defining artifacts to be published and adding them to configurations.
Link copied to clipboard
Allows the build to provide rules that modify the metadata of depended-on software components.
Link copied to clipboard
Allows to modify the metadata of depended-on software components.
Link copied to clipboard
Universal APIs that are available for all dependencies blocks.
Link copied to clipboard
A DependencyCollector is used as part of a dependencies block in the DSL.
Link copied to clipboard
Factory class for creating DependencyConstraint instances, with strong typing.
Link copied to clipboard
A DependencyConstraintHandler is used to declare dependency constraints.
Link copied to clipboard
Factory class for creating Dependency instances, with strong typing.
Link copied to clipboard
A DependencyHandler is used to declare dependencies.
Link copied to clipboard
A DependencyLockingHandler manages the behaviour and configuration of dependency locking.
Link copied to clipboard
A DependencyModifier defines how to modify a dependency inside a custom dependencies block to select a different variant.
Link copied to clipboard
The specification of a dependency variant.
Link copied to clipboard
Dependency APIs available for dependencies blocks that can build software that relies on Gradle APIs.
Link copied to clipboard
The supported lock modes:
  • DEFAULT will load the lock state and verify resolution matches it
  • STRICT in addition to the DEFAULT behaviour, will fail resolution if a locked configuration does not have lock state defined
  • LENIENT will load the lock state, to anchor dynamic versions, but otherwise be lenient about modifications of the dependency resolution, allowing versions to change and module to be added or removed
Link copied to clipboard
A RepositoryHandler manages a set of repositories, allowing repositories to be defined and queried.