Trigger a plugin method when configuration of a project start

Hi,

Is there a way to define a trigger within a custom plugin so that a method of this plugin is called at the beginning of project configuration.

For example as soon as

subprojects {

is called ?

Assuming your plugin is already applied, there is gradle.beforeProject {}

You might alsow want to look at

gradle.addProjectEvaluationListener( [  
  afterEvaluate : { Project p, ProjectState ps -> /* ...  */ },
  beforeEvaluate : { Project p -> /* ... */ }  
 ] as Project EvaluationListener
)

HTH