For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

addTaskExecutionListener

Deprecated

This method is not supported when configuration caching is enabled.

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

Since

0.7

Parameters

listener

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