beforeEvaluate is not called

beforeEvaluate is skipped and not called, afterEvaluate is called. Why it’s not being called and how to fix it?

beforeEvaluate {

println ‘beforeEvaluate is here!’


afterEvaluate {

println ‘afterEvaluate is here!’


The ‘beforeEvaluate’ event fires before the build script gets evaluated. Hence registering an event handler for it in the build script is too late.

1 Like