Link Search Menu Expand Document

Apache Groovy is a powerful, optionally typed and dynamic language, with static-typing and static compilation capabilities, for the Java platform aimed at improving developer productivity thanks to a concise, familiar and easy to learn syntax. It integrates smoothly with any Java program, and immediately delivers to your application powerful features, including scripting capabilities, Domain-Specific Language authoring, runtime and compile-time meta-programming and functional programming.

Release Released Active Support Bug and Security Fixes Latest
4.0 10 months ago
(25 Jan 2022)
Yes Yes 4.0.6
(13 Oct 2022)
3.0 2 years and 10 months ago
(10 Feb 2020)
No Yes 3.0.13
(18 Sep 2022)
2.5 4 years and 6 months ago
(30 May 2018)
No Yes 2.5.19
(16 Oct 2022)
2.4 7 years and 11 months ago
(21 Jan 2015)
No No 2.4.21

Apache Groovy does not have a fixed release policy. Its support policy states that each new major version makes the previous major version go into maintenance. Versions that are into maintenance are maintained for one or two bugfix releases and then discontinued, unless there are strong requests to have certain things fixed for users that can absolutely not upgrade. Groovy 2.5 and Groovy 3.0 are still supported because they are still in widespread use.

In Groovy 4.0, the groupId of the maven coordinates for Groovy have changed from org.codehaus.groovy to org.apache.groovy.

Groovy have the following JVM requirements:

Groovy JVM Required (non-indy) JVM Required (indy)
4.0 N/A 8+
3.0 8+ 8+
2.5 7+ 7+
2.4 6+ 7+

More information is available on the Apache Groovy website.

You should be running one of the supported release numbers listed above in the rightmost column.

You can check the version that you are currently using by running:
groovy --version

You can submit an improvement to this page on GitHub :octocat: . This page has a corresponding Talk Page.

A JSON version of this page is available at /api/apache-groovy.json. See the API Documentation for more.

This page was last updated on 19 December 2022. Latest releases are automatically updated.