You can download a binary, a source, a documentation bundle or an SDK bundle combining all three. A convenience Windows installer is also provided when available.
We provide OpenPGP signatures ('.asc') files and checksums for every release file. We recommend that you verify the integrity of downloaded files by generating your own checksums and matching them against ours and checking signatures using the KEYS file which contains the OpenPGP keys of Groovy's Release Managers.
Groovy 3.0 is a bleeding edge version of Groovy designed for JDK8+ and with the new Parrot parser enabled by default. Pre-release versions are available:
Groovy 2.6 is a bleeding edge version of Groovy designed for JDK7+ and supporting the new Parrot parser (when enabled). This version has been retired before reaching final release to focus on Groovy 3.0 but alpha versions are available to help people wanting to port towards Groovy 3.0 but who are stuck on JDK7. Alpha versions are available:
"$module" stands for the different optional groovy modules "ant", "bsf", "console", "docgenerator", "groovydoc", "groovysh", "jmx", "json", "jsr223", "nio", "servlet", "sql", "swing", "test", "templates", "testng" and "xml". Example: <artifactId>groovy-sql</artifactId>
<groupId>org.codehaus.groovy</groupId> <artifactId>groovy-all</artifactId> <version>x.y.z</version> <type>pom</type> <!-- required JUST since Groovy 2.5.0 -->
The core plus all the modules. Also includes jarjar'ed versions of Antlr, ASM, Commons-CLI.
In order to cater to the module system of Java 9+, only the individual jar files of the core and all modules will be provided since Groovy 2.5.0, i.e. the fat jar file groovy-all-x.y.z.jar will not be available.
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...
If you're on MacOS and have Homebrew installed, you can install Groovy with:
brew install groovy
If you're on MacOS and have MacPorts installed, you can install Groovy with:
sudo port install groovy
If you're using Docker, Groovy is available on Docker Hub. If you prefer to live on the bleeding edge, you can also grab the source code from GitHub. If you are an IDE user, you can just grab the latest IDE plugin and follow the plugin installation instructions.