Groovy @CompileStatic and Grails
Asked Answered
C

2

0

Looking at article on DZone about improved performance with Groovy2 when compiling with @CompileStatic annotation, I wonder to what extent can I take advantage of it? I'm guessing annotate controllers, domain objects and services? Does Grails take advantage of it by default when app gets compiled?

Link to article.

Cisco answered 29/8, 2012 at 14:23 Comment(0)
O
1

Current Grails version (2.1) run groovy 1.8.x

In Grails web you can see the roadmap, where Groovy 2.x integration is featured

http://grails.org/Roadmap

Ohaus answered 29/8, 2012 at 14:31 Comment(0)
C
2

As of December 20th 2012 the annotation should be useable with Grails 2.2 (which uses Groovy 2.0)

Carnauba answered 7/1, 2013 at 15:43 Comment(0)
O
1

Current Grails version (2.1) run groovy 1.8.x

In Grails web you can see the roadmap, where Groovy 2.x integration is featured

http://grails.org/Roadmap

Ohaus answered 29/8, 2012 at 14:31 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.