Groovy 2.4 is here
Groovy 2.4 has restored part of the JVM language’s mojo – this latest release is the first to officially provide support for running Groovy on Android.
Full Android support
The biggest highlight of the new version is definitely the support of Android: Thanks to the Groovy-Android-Gradle plugin (the common groovyc-Tool cannot be used for Android bytecode), Android applications can now be written in Groovy. Being built on the Groovy-supported Swiss Knife Library helps to minimize the typical Android (and raw Java) boilerplate code.
But Groovy 2.4 has even more to offer. The new version ensures a reduction in the produced bytecode, which leads to lower memory consumption of the internal data structures and delivers generally better performance. This includes cheaper compare operations and optimization of primitive type conversions with the as operator.
@glaforge Release in the face of uncertainty to show strength. I love it. Je suis Groovy!
— Dan Allen (@mojavelinux) January 22, 2015
In addition, the Groovy developers for this version have fine tuned existing AST transformations and have also made improvements in GKD methods and the Groovy shell. To view a complete list of changes, head over to Groovy’s official release notes.
Community hype and support
Due to the language’s newly acquired sponsorship woes, a lot of focus has been given to this most recent release, with the community putting the spotlight on Groovy in every way it can. The Twitter-verse is buzzing and filled with positive reinforcement under the #groovylang hashtag.