api / org.gradle.api.initialization.dsl / ScriptHandler / dependencies

dependencies

abstract fun dependencies(configureClosure: Closure<Any>): Unit

Configures the dependencies for the script. Executes the given closure against the DependencyHandler for this handler. The DependencyHandler is passed to the closure as the closure's delegate.

Parameters

configureClosure - the closure to use to configure the dependencies.