Several months ago, while drinking beers after one Madrid Groovy User Group, @mariogarr told me he configured, in a Grails Project, the Groovy Compiler to annotate the project's classes with @CompileStatic by default.
I am a big fun of using @CompileStatic. However, I am not sure If want the compiler to do it automatically for me. Nonetheless, I made a mental note to try it myself.
Months went by; I still have not tried it. However, in the latest talk at Madrid GUG [SPANISH] Mario revisited the topic.
Moreover, he linked to a @mrhaki post which explains how to customize the Groovy Compiler.