gradle
8.6

# BuildEventsListenerRegistry

interface BuildEventsListenerRegistry(source)

Allows a plugin to receive information about the operations that run within a build.

An instance of this registry can be injected into tasks, plugins and other objects by annotating a public constructor or property getter method with `javax.inject.Inject`.

## Functions

onTaskCompletion
Link copied to clipboard
abstract fun onTaskCompletion(listener: Provider<out OperationCompletionListener>)
Subscribes the given listener to the finish events for tasks, if not already subscribed.