api / org.gradle.api.execution / TaskActionListener

TaskActionListener

interface TaskActionListener

A TaskActionListener is notified of the actions that a task performs.

Functions

afterActions

abstract fun afterActions(task: Task): Unit

This method is called immediately after the task has completed performing its actions.

beforeActions

abstract fun beforeActions(task: Task): Unit

This method is called immediately before the task starts performing its actions.