Package org.gradle.api.artifacts.dsl
@NonNullApi
package org.gradle.api.artifacts.dsl
Classes used in the artifact DSL.
-
ClassDescriptionThis class is for defining artifacts to be published and adding them to configurations.Allows the build to provide rules that modify the metadata of depended-on software components.Allows to modify the metadata of depended-on software components.Universal APIs that are available for all
dependencies
blocks.ADependencyCollector
is used as part of a dependencies block in the DSL.Factory class for creatingDependencyConstraint
instances, with strong typing.ADependencyConstraintHandler
is used to declare dependency constraints.Factory class for creatingDependency
instances, with strong typing.ADependencyHandler
is used to declare dependencies.ADependencyLockingHandler
manages the behaviour and configuration of dependency locking.ADependencyModifier
defines how to modify a dependency inside a customdependencies
block to select a different variant.The specification of a dependency variant.Dependency APIs available fordependencies
blocks that can build software that relies on Gradle APIs.The supported lock modes:DEFAULT
will load the lock state and verify resolution matches itSTRICT
in addition to theDEFAULT
behaviour, will fail resolution if a locked configuration does not have lock state definedLENIENT
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 removedARepositoryHandler
manages a set of repositories, allowing repositories to be defined and queried.