Package org.gradle.api.artifacts.dsl
Classes used in the artifact DSL.
-
Interface Summary Interface Description ArtifactHandler This class is for defining artifacts to be published and adding them to configurations.ComponentMetadataHandler Allows the build to provide rules that modify the metadata of depended-on software components.ComponentModuleMetadataHandler Allows to modify the metadata of depended-on software components.Dependencies Universal APIs that are available for alldependenciesblocks.DependencyCollector ADependencyCollectoris used as part of a dependencies block in the DSL.DependencyConstraintFactory Factory class for creatingDependencyConstraintinstances, with strong typing.DependencyConstraintHandler ADependencyConstraintHandleris used to declare dependency constraints.DependencyFactory Factory class for creatingDependencyinstances, with strong typing.DependencyHandler ADependencyHandleris used to declare dependencies.DependencyLockingHandler ADependencyLockingHandlermanages the behaviour and configuration of dependency locking.ExternalModuleDependencyVariantSpec The specification of a dependency variant.GradleDependencies Dependency APIs available fordependenciesblocks that can build software that relies on Gradle APIs.RepositoryHandler ARepositoryHandlermanages a set of repositories, allowing repositories to be defined and queried. -
Class Summary Class Description DependencyModifier ADependencyModifierdefines how to modify a dependency inside a customdependenciesblock to select a different variant. -
Enum Summary Enum Description LockMode The supported lock modes:DEFAULTwill load the lock state and verify resolution matches itSTRICTin addition to theDEFAULTbehaviour, will fail resolution if a locked configuration does not have lock state definedLENIENTwill 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