Experience Groovy 1.8
Groovy 1.8 is the latest major and stable version of the popular dynamic language for the JVM. To learn more about the novelties, make sure to read the release notes. In a nutshell, Groovy 1.8 provides new Domain-Specific Language authoring capabilities for more readability and expressivity of your business rules, runtime performance improvements, the bundling of the GPars parallel and concurrency library, built-in JSON support, new compile-time meta-programming features (several new useful AST transformations), new functional programming aspects for closures, and much more.
"Groovy is like a super version of Java. It can leverage Java's enterprise capabilities but also has cool productivity features like closures, builders and dynamic typing. If you are a developer, tester or script guru, you have to love Groovy."
A simple hello world script:
A more sophisticated version using Object Orientation:
Leveraging existing Java libraries:
On the command line:
Latest news [more]
The Groovy development team is happy to announce the joint releases of the Groovy 2.4.1 and Groovy 2.3.10 of the Groovy programming language for the Java platform.
Both releases are bug fix releases, and while Groovy 2.4.1 is the latest official stable branch, we thought it might be helpful to some projects who are still on the 2.3.x line to get a final release for that branch. But going forward, the 2.3.x branch won’t see any upcoming release.
You can learn more about all the tickets closed by reading:
For reference, you can also read the release notes of Groovy 2.4 if you haven't had a chance to since the announcement.
Head over to the download section of the new Groovy website to download the binary distribution, or update your dependencies accordingly with those new version numbers.
Thanks a lot for all those who contributed to this release!