api / org.gradle.api / Project / beforeEvaluate

beforeEvaluate

abstract fun beforeEvaluate(action: Action<in Project>): Unit

Adds an action to execute immediately before this project is evaluated.

Parameters

action - the action to execute.

abstract fun beforeEvaluate(closure: Closure<Any>): Unit

Adds a closure to be called immediately before this project is evaluated. The project is passed to the closure as a parameter.

Parameters

closure - The closure to call.