# DependencyLockingHandler

@ServiceScope(value = Project::class)
interface DependencyLockingHandler

A `DependencyLockingHandler` manages the behaviour and configuration of dependency locking.

#### Since

4.8

## Functions

getIgnoredDependencies
Link copied to clipboard
abstract fun getIgnoredDependencies(): ListProperty<String>
Allows to configure dependencies that will be ignored in the lock state.
getLockFile
Link copied to clipboard
abstract fun getLockFile(): RegularFileProperty
Allows to configure the file used for saving lock state Make sure the lock file is unique per project and separate between the buildscript and project itself.
getLockMode
Link copied to clipboard
abstract fun getLockMode(): Property<LockMode>
Allows to query the lock mode currently configured
lockAllConfigurations
Link copied to clipboard
abstract fun lockAllConfigurations()
Convenience method for doing: configurations.all { resolutionStrategy.
unlockAllConfigurations
Link copied to clipboard
abstract fun unlockAllConfigurations()
Convenience method for doing: configurations.all { resolutionStrategy.