# dependencyLocking

abstract fun dependencyLocking(@DelegatesTo(value = DependencyLockingHandler::class, strategy = Closure.DELEGATE_FIRST) configureClosure: Closure)

Configures dependency locking for the script. Executes the given closure against the DependencyLockingHandler for this handler. The DependencyLockingHandler is passed to the closure as the closure's delegate.

#### Since

6.1

#### Parameters

configureClosure

the closure to use to configure dependency locking.

abstract fun dependencyLocking(action: Action<in DependencyLockingHandler>)

Configures dependency locking for the script. Executes the given action against the DependencyLockingHandler for this handler.

#### Since

9.4.0

#### Parameters

action

the action to use to configure dependency locking.