Plugin, in afterEvaluate: Failed to apply plugin [id 'groovy'] > model 'tasks' is finalized

When applying the plugin “groovy” in afterEvaluate in a gradle plugin, it fails with:

Failed to apply plugin [id ‘groovy’]

model ‘tasks’ is finalized

Is there any particular reason for why it is failing?

This has been fixed in the soon to be released Gradle 2.2.

Wonderful news!