Apache Groovy

apache java-runtime lang

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 2 years ago
(25 Jan 2022)
Yes Yes 4.0.18
(16 Jan 2024)
3.0 4 years ago
(10 Feb 2020)
No Yes 3.0.20
(22 Dec 2023)
2.5 5 years and 9 months ago
(30 May 2018)
No Yes 2.5.23
(22 Aug 2023)
2.4 9 years ago
(21 Jan 2015)
No No 2.4.21
(03 Dec 2020)

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 information. You can subscribe to the iCalendar feed at /calendar/apache-groovy.ics.