Sorry, forgot to mention earlier - I converted everything to use @CompileStatic, but you can relax that if you want of course. I write as much as possible in the security plugins in Java for performance, but since you're targeting 2.2+ you know that the apps will have Groovy 2.0+, so @CompileStatic will work and give you the same performance boost as using Java.
Sorry, forgot to mention earlier - I converted everything to use @CompileStatic, but you can relax that if you want of course. I write as much as possible in the security plugins in Java for performance, but since you're targeting 2.2+ you know that the apps will have Groovy 2.0+, so @CompileStatic will work and give you the same performance boost as using Java.