interface BuildListener
A BuildListener
is notified of the major lifecycle events as a build is executed.
See Also
org.gradle.api.invocation.Gradle#addListener(Object)
abstract fun buildFinished(result: BuildResult): Unit
Called when the build is completed. All selected tasks have been executed. |
|
abstract fun buildStarted(gradle: Gradle): Unit
Called when the build is started. |
|
abstract fun projectsEvaluated(gradle: Gradle): Unit
Called when all projects for the build have been evaluated. The project objects are fully configured and are ready to use to populate the task graph. |
|
abstract fun projectsLoaded(gradle: Gradle): Unit
Called when the projects for the build have been created from the settings. None of the projects have been evaluated. |
|
abstract fun settingsEvaluated(settings: Settings): Unit
Called when the build settings have been loaded and evaluated. The settings object is fully configured and is ready to use to load the build projects. |
open class BuildAdapter : BuildListener
A BuildListener adapter class for receiving build events. The methods in this class are empty. This class exists as convenience for creating listener objects. |