api / org.gradle.api.invocation / Gradle / addBuildListener

addBuildListener

abstract fun addBuildListener(buildListener: BuildListener): Unit

Adds a BuildListener to this Build instance. The listener is notified of events which occur during the execution of the build.

Parameters

buildListener - The listener to add.