api / org.gradle.api.execution / TaskExecutionGraphListener

TaskExecutionGraphListener

interface TaskExecutionGraphListener

A TaskExecutionGraphListener is notified when the TaskExecutionGraph has been populated. You can use this interface in your build file to perform some action based on the contents of the graph, before any tasks are actually executed.

Functions

graphPopulated

abstract fun graphPopulated(graph: TaskExecutionGraph): Unit

This method is called when the TaskExecutionGraph has been populated, and before any tasks are executed.