abstract fun buildFinished(closure: Closure<Any>): Unit
Adds a closure to be called when the build is completed. All selected tasks have been executed. A BuildResult instance is passed to the closure as a parameter.
closure
- The closure to execute.
abstract fun buildFinished(action: Action<in BuildResult>): Unit
Adds an action to be called when the build is completed. All selected tasks have been executed.
action
- The action to execute.
Since
3.4