DependencyLockingHandler

A DependencyLockingHandler manages the behaviour and configuration of dependency locking.

Since

4.8

Functions

Link copied to clipboard
Allows to configure dependencies that will be ignored in the lock state.
Link copied to clipboard
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.
Link copied to clipboard
abstract fun getLockMode(): Property<LockMode>
Allows to query the lock mode currently configured
Link copied to clipboard
abstract fun lockAllConfigurations()
Convenience method for doing: configurations.all { resolutionStrategy.
Link copied to clipboard
Convenience method for doing: configurations.all { resolutionStrategy.