After upgrading to groovy 2.5.1 I'm getting the following error in my Gradle build: 


Execution failed for task ':nxf-commons:groovydoc'.
> java.lang.NoClassDefFoundError: groovy/text/TemplateEngine



Any idea what's wrong with that ? 


Cheers,
Paolo