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

repositories

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

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

Parameters

configureClosure - the closure to use to configure the repositories.