❯ Guillaume Laforge

Groovy 2.4 released

The Groovy team is happy to announce the release of Groovy 2.4.0!

The big highlight of this release is the Android support, which allows developers to write Android applications fully using Groovy, with much less boilerplate code than raw Java.

The team also focused on various improvements in terms of performance, smaller bytecode generation, or memory consumption.

Other interesting aspects worth noticing in this release are:

  • traits can use the @SelfType annotation with static type checking enabled to restrict to what classes traits can be applied
  • GDK methods improvements
  • some refinements to existing AST transformations
  • further Groovysh improvements as well.

Please have a look at the full release notes for Groovy 2.4 to know more about the new features and all the interesting tickets closed.

You can have a look at the 2.4 changelog on the new Groovy website too.

And then, just go grab this release while it’s hot!

Thanks a lot to all those who contributed to this release, whether through bug reports, but also with documentation or code contributions through pull requests. All your help is warmly welcome!

Your support of Groovy and its ecosystem is what makes Groovy so strong, and what will allow it to continue making us all more productive for the next decade!

Keep on groovy’ing!