Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For a quick and effortless start on Mac OSX, Linux or Cygwin, you can use GVM (the Groovy enVironment Manager) to download and configure any Groovy version of your choice. Basic instructions can be found below.

Groovy 2.

...

4

Groovy 2

...

.4 is currently in beta testing. If you want a stable version, please choose Groovy 2.3 which is our latest official version of Groovy.

Groovy 2.4.0-beta-3

Download zipBinary Release | Source Release
Download documentation: JavaDoc and zipped online documentation
Combined binary / source / documentation bundle: Distribution bundle
 

You can have a look at the JIRA release notes.

If you plan on using invokedynamic support, read those notes.

Groovy 2.3

Groovy 2.3 is our latest official version of Groovy.

Groovy 2.3.7

Download zipBinary Release | Source Release
Download Windows-Installer: Binary Release (Module Versions)
Download documentation: JavaDoc and zipped online documentation
Combined binary / source / documentation bundle: Distribution bundle
 

You can have a look at the JIRA release notes.

If you plan on using invokedynamic support, read those notes.

Groovy 2.3.6

Download zipBinary Release | Source Release
Download Windows-Installer: Binary Release (Module Versions)
Download documentation: JavaDoc and zipped online documentation
Combined binary / source / documentation bundle: Distribution bundle
 

You can have a look at the JIRA release notes.

If you plan on using invokedynamic support, read those notes.

Groovy 2.3.4

Download zipBinary Release | Source Release
Download Windows-Installer: Binary Release (Module Versions)
Download documentation: JavaDoc and zipped online documentation
Combined binary / source / documentation bundle: Distribution bundle
 

You can have a look at the JIRA release notes.

If you plan on using invokedynamic support, read those notes.

Groovy 2.2

Groovy 2.2 is our previous official version of Groovy.

Learn more about Groovy 2.1 2 in the release notes.

Groovy 2.

...

2.

...

2

Download zipBinary Release | Source Release
Download Windows-Installer: Binary Release (Module Versions)
Download documentationJavaDoc and zipped online documentation
Combined binary / source / documentation bundle: Distribution bundle
 

You can have a look at the JIRA release notes.

If you plan on using invokedynamic support, read those notes.

Groovy 2.1

Learn more about Groovy 2.1 in the release notes.

Groovy 2.1.9

Download zipBinary Release | Source Release
Download Windows-Installer: Binary Release (Module Versions)
Download documentationJavaDoc and zipped online documentation
Combined binary / source / documentation bundle: Distribution bundle

You can have a look at the JIRA release notes.

If you plan on using invokedynamic support, read those notes.

Groovy 2.0

Groovy 2.0 is the minor version before Groovy 2.1.

...

Download zipBinary Release | Source Release
Download documentationJavaDoc and zipped online documentation
Combined binary / source / documentation bundle: Distribution bundle

You can have a look at the JIRA release notes.

...

For those who want to test the very latest versions of Groovy and live on the bleeding edge, you can use our snapshot builds. As soon as a build succeeds on our continuous integration server a snapshot is deployed to CodehausArtifactory's OSS snapshot repository.

Older Releases

...

Download zipBinary Release | Source Release
Download documentationJavaDoc and zipped online documentation

 

You can have a look at the JIRA release notes.

...

Download zip: Binary Release | Source Release
Download unofficial Ubuntu/Debian package: Binary Release
Download Windows-Installer: Binary Release
Download tar/gz: Binary Release | Source Release
Download Javadoc: Javadoc zip

Once you've downloaded the distribution, please read the installation instructions.

Other versions can be found in the distributions archive.

...

If you wish to embed Groovy in your application, you may just prefer to point to your favourite maven repositories or the codehaus maven repository. You should consult the individual pom files for the exact details but here is a summary of the main supported artifactIds and groupIds:

Groovy 2.

...

X.

...

Y  and newer

GradleMavenExplanation

'org.codehaus.groovy:groovy:x.y.z'

<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy</artifactId>
<version>x.y.z</version>

Just the core of groovy without the modules (see below). Treats Antlr, ASM, etc. as standard dependencies. Only useful if you happen to also use the same versions of these jars yourself as it will save you having two copies of these jars.
'org.codehaus.groovy:groovy-$module:x.y.z' 

<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-$module</artifactId>
<version>x.y.z</version>

"$module" stands for the different optional groovy modules "ant", "bsf", "console", "docgenerator", "groovydoc", "groovysh", "jmx", "json", "jsr223", "servlet", "sql", "swing", "test", "testng" and "xml". Example: <artifactId>groovy-sql</artifactId>

'org.codehaus.groovy:groovy-all:x.y.z'

<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>x.y.z</version>

The core plus all the modules. Also includes jarjar versions of Antlr, ASM, Commons-CLI and Retrotranslator runtime. Allows you or your other dependencies (e.g. Hibernate) to use other versions of these jars. Optional dependencies are marked as optional. You may need to include some of the optional dependencies to use some features of Groovy, e.g. AntBuilder, GroovyMBeans, etc.

...

If you are an IDE user, you can just grab the latest IDE plugin and follow the plugin installation instructions.

System Requirements

Groovy BranchJVM Required (non-indy)JVM Required (indy) *
1.0 - 1.51.4N/A
1.6 - 1.81.5N/A
2.0 - 2.21.51.7
2.3 - current1.61.7

* If you plan on using invokedynamic support, read those notes.