TaskExecutionListener

Deprecated

A TaskExecutionListener is notified of the execution of the tasks in a build.

You can add a TaskExecutionListener to a build using addTaskExecutionListener

Deprecated

This type is not supported when configuration caching is enabled.

Inheritors

Functions

Link copied to clipboard
abstract fun afterExecute(task: Task, state: TaskState)
This method is called immediately after a task has been executed.
Link copied to clipboard
abstract fun beforeExecute(task: Task)
This method is called immediately before a task is executed.