api / org.gradle.api.execution / TaskExecutionGraph / addTaskExecutionListener

addTaskExecutionListener

abstract fun addTaskExecutionListener(listener: TaskExecutionListener): Unit

Adds a listener to this graph, to be notified as tasks are executed.

Parameters

listener - The listener to add. Does nothing if this listener has already been added.