Groovy Documentation

org.gradle.api
Interface ProjectEvaluationListener


interface ProjectEvaluationListener

An ProjectEvaluationListener is notified when a project is evaluated. You add can add an ProjectEvaluationListener to a org.gradle.api.invocation.Build using org.gradle.api.invocation.Build#addProjectEvaluationListener(ProjectEvaluationListener).

author:
Hans Dockter


Method Summary
void afterEvaluate(Project project, java.lang.Throwable failure)

This method is called when a project has been evaluated, and before the evaluated project is made available to other projects.

void beforeEvaluate(Project project)

This method is called immediately before a project is evaluated.

 

Method Detail

afterEvaluate

public void afterEvaluate(Project project, java.lang.Throwable failure)
This method is called when a project has been evaluated, and before the evaluated project is made available to other projects.

param:
project The project which was evaluated. Never null.
param:
failure The evaluation failure, if any.


beforeEvaluate

public void beforeEvaluate(Project project)
This method is called immediately before a project is evaluated.
param:
project The which is to be evaluated. Never null.


 

Groovy Documentation