api / org.gradle.api / Project / buildscript

buildscript

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

Configures the build script classpath for this project.

The given closure is executed against this project's ScriptHandler. The ScriptHandler is passed to the closure as the closure's delegate.

Parameters

configureClosure - the closure to use to configure the build script classpath.