BuildTypes cannot be applied to groovy.lang.Closure Tutorials