blob: 60348f2faf8a169565eb61f22565a9f8d9c1ed2f [file] [log] [blame]
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--><head>
<meta charset='utf-8'/><meta http-equiv='X-UA-Compatible' content='IE=edge'/><meta name='viewport' content='width=device-width, initial-scale=1'/><title>The Apache Groovy programming language - Download</title><link href='img/favicon.ico' type='image/x-ico' rel='icon'/><link rel='stylesheet' type='text/css' href='css/bootstrap.css'/><link rel='stylesheet' type='text/css' href='css/font-awesome.min.css'/><link rel='stylesheet' type='text/css' href='css/style.css'/>
</head><body>
<div id='fork-me'>
<a href='https://github.com/apache/groovy'>
<img style='position: fixed; top: 20px; right: -58px; border: 0; z-index: 100; transform: rotate(45deg);' src='/img/horizontal-github-ribbon.png'/>
</a>
</div><div id='st-container' class='st-container st-effect-9'>
<nav class='st-menu st-effect-9' id='menu-12'>
<h2 class='icon icon-lab'>Socialize</h2><ul>
<li>
<a href='http://groovy-lang.org/mailing-lists.html' class='icon'><span class='fa fa-envelope'></span> Discuss on the mailing-list</a>
</li><li>
<a href='http://groovy-lang.org/groovy-weekly.html' class='icon'><span class='fa fa-envelope-o'></span> Groovy newsletter</a>
</li><li>
<a href='https://twitter.com/ApacheGroovy' class='icon'><span class='fa fa-twitter'></span> Groovy on Twitter</a>
</li><li>
<a href='http://groovy-lang.org/events.html' class='icon'><span class='fa fa-calendar'></span> Events and conferences</a>
</li><li>
<a href='https://github.com/apache/groovy' class='icon'><span class='fa fa-github'></span> Source code on GitHub</a>
</li><li>
<a href='http://groovy-lang.org/reporting-issues.html' class='icon'><span class='fa fa-bug'></span> Report issues in Jira</a>
</li><li>
<a href='http://stackoverflow.com/questions/tagged/groovy' class='icon'><span class='fa fa-stack-overflow'></span> Stack Overflow questions</a>
</li><li>
<a href='http://groovycommunity.com/' class='icon'><span class='fa fa-slack'></span> Slack Community</a>
</li>
</ul>
</nav><div class='st-pusher'>
<div class='st-content'>
<div class='st-content-inner'>
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]--><div><div class='navbar navbar-default navbar-static-top' role='navigation'>
<div class='container'>
<div class='navbar-header'>
<button type='button' class='navbar-toggle' data-toggle='collapse' data-target='.navbar-collapse'>
<span class='sr-only'></span><span class='icon-bar'></span><span class='icon-bar'></span><span class='icon-bar'></span>
</button><a class='navbar-brand' href='index.html'>
<i class='fa fa-star'></i> Apache Groovy
</a>
</div><div class='navbar-collapse collapse'>
<ul class='nav navbar-nav navbar-right'>
<li class=''><a href='http://groovy-lang.org/learn.html'>Learn</a></li><li class=''><a href='http://groovy-lang.org/documentation.html'>Documentation</a></li><li class='active'><a href='/download.html'>Download</a></li><li class=''><a href='http://groovy-lang.org/support.html'>Support</a></li><li class=''><a href='/'>Contribute</a></li><li class=''><a href='http://groovy-lang.org/ecosystem.html'>Ecosystem</a></li><li>
<a data-effect='st-effect-9' class='st-trigger' href='#'>Socialize</a>
</li><li class=''>
<a href='search.html'>
<i class='fa fa-search'></i>
</a>
</li>
</ul>
</div>
</div>
</div><div id='content' class='page-1'><div class='row'><div class='row-fluid'><div class='col-lg-3'><ul class='nav-sidebar'><li class='active'><a href='download.html'><strong>Download Groovy</strong></a></li><li><a href='#distro' class='anchor-link'>Distributions</a></li><li><a href='#osinstall' class='anchor-link'>OS/package manager install</a></li><li><a href='#buildtools' class='anchor-link'>From your build tools</a></li><li><a href='#requirements' class='anchor-link'>System requirements</a></li><li><a href='versioning.html'>Groovy version scheme</a></li><li><a href='http://groovy-lang.org/indy.html'>Invoke dynamic support</a></li><li><a href='http://groovy-lang.org/releases.html'>Release notes</a></li></ul></div><div class='col-lg-8 col-lg-pull-0'><div id='contribute-btn'>
<button type='button' class='btn btn-default' onclick='window.location.href="https://github.com/apache/groovy-website/tree/asf-site/site/src/site/pages/download.groovy"'>
<i class='fa fa-pencil-square-o'></i> Improve this doc
</button>
</div><h1><i class='fa fa-cloud-download'></i> Download</h1><button id='big-download-button' type='button' class='btn btn-default' title='Download Apache Groovy 4.0.2 binary zip
See below for verification information' onclick='window.location.href="https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/apache-groovy-sdk-4.0.2.zip"'><i class='fa fa-download'></i> Download 4.0.2</button><article><p>Ways to get Apache Groovy:</p><ul><li>Download a source or binary <a href='#distro'>distribution</a>.</li><li>Use a package manager or bundle for your <a href='#osinstall'>operating system</a>.</li><li>Refer to the appropriate Apache Groovy jars from your <a href='#buildtools'>build tools</a>.</li><li>Grab the latest <a href='http://groovy-lang.org/ides.html'>plugin</a> for your IDE and follow the installation instructions.</li><li>Find the latest source code in the <a href='https://git-wip-us.apache.org/repos/asf/groovy.git'>Git repo</a> (or the <a href='https://github.com/apache/groovy'>GitHub mirror</a>).</li><li>If you&apos;re using Docker, Groovy is available on <a href='https://hub.docker.com/_/groovy/'>Docker Hub</a>.</li></ul></article><hr class='divider'/><a name='distro'></a><article><h1>Distributions</h1><p>Distributions are bundles of source or class files needed to build or use Groovy.</p><p>All Apache projects provide a source zip which lets anyone build the software from scratch. If any doubt arises, you can regard the source zip as the authoritative artifact for each release. We also provide binary, downloadable documentation and SDK (combines src, binary and docs) convenience artifacts. You can also find a link to a non-ASF Windows installer convenience executable (if available).</p><h3>Verification</h3><p>We provide OpenPGP signatures (&apos;.asc&apos;) files and checksums (&apos;.sha256&apos;) for every release artifact. We recommend that you <a href='https://www.apache.org/info/verification.html'>verify</a> the integrity of downloaded files by generating your own checksums and matching them against ours and checking signatures using the <a href='https://downloads.apache.org/groovy/KEYS'>KEYS</a> file which contains the OpenPGP keys of Groovy&apos;s Release Managers across all releases.</p><p>Newer releases have two sets of verification links. The <span style='font-variant: small-caps'>dist</span> labelled links are through the normal Apache distribution mechanism. The <span style='font-variant: small-caps'>perm</span> labelled links are through the Apache archive server. The latter of these won&apos;t change but may not be available for a short while (usually less than a day) after a release. Older releases are only available from the archive server. </p><h2><i class='fa fa-star'></i> Groovy 5.0</h2><p><a href='http://groovy-lang.org/releasenotes/groovy-5.0.html'>Groovy 5.0</a> is the next major <a href='versioning.html'>version</a> of Groovy. We expect to have alpha releases soon.</p><h2><i class='fa fa-star'></i> Groovy 4.0</h2><p><a href='http://groovy-lang.org/releasenotes/groovy-4.0.html'>Groovy 4.0</a> is the latest stable <a href='versioning.html'>version</a> of Groovy designed for JDK8+ with much improved JPMS support.</p><h3>4.0.2 distributions</h3><table width='100%' class='download-table'><tr><td><a href='https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/apache-groovy-binary-4.0.2.zip'><i class='fa fa-gears fa-4x'></i><br/>binary</a> <a href='https://www.apache.org/dyn/closer.lua/groovy/4.0.2/distribution/apache-groovy-binary-4.0.2.zip?action=download'>(mirror)</a><br/><span style='font-variant: small-caps'>dist: </span><a href='https://downloads.apache.org/groovy/4.0.2/distribution/apache-groovy-binary-4.0.2.zip.asc'>asc</a> <a href='https://downloads.apache.org/groovy/4.0.2/distribution/apache-groovy-binary-4.0.2.zip.sha256'>sha256</a><br/><span style='font-variant: small-caps'>perm: </span><a href='https://archive.apache.org/dist/groovy/4.0.2/distribution/apache-groovy-binary-4.0.2.zip.asc'>asc</a> <a href='https://archive.apache.org/dist/groovy/4.0.2/distribution/apache-groovy-binary-4.0.2.zip.sha256'>sha256</a></td><td><a href='https://www.apache.org/dyn/closer.lua/groovy/4.0.2/sources/apache-groovy-src-4.0.2.zip?action=download'><i class='fa fa-code fa-4x'></i><br/> source</a><br/><span style='font-variant: small-caps'></span><a href='https://downloads.apache.org/groovy/4.0.2/sources/apache-groovy-src-4.0.2.zip.asc'>asc</a> <a href='https://downloads.apache.org/groovy/4.0.2/sources/apache-groovy-src-4.0.2.zip.sha256'>sha256</a></td><td><a href='https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/apache-groovy-docs-4.0.2.zip'><i class='fa fa-file-text fa-4x'></i><br/> documentation</a> <a href='https://www.apache.org/dyn/closer.lua/groovy/4.0.2/distribution/apache-groovy-docs-4.0.2.zip?action=download'>(mirror)</a><br/><span style='font-variant: small-caps'>dist: </span><a href='https://downloads.apache.org/groovy/4.0.2/distribution/apache-groovy-docs-4.0.2.zip.asc'>asc</a> <a href='https://downloads.apache.org/groovy/4.0.2/distribution/apache-groovy-docs-4.0.2.zip.sha256'>sha256</a><br/><span style='font-variant: small-caps'>perm: </span><a href='https://archive.apache.org/dist/groovy/4.0.2/distribution/apache-groovy-docs-4.0.2.zip.asc'>asc</a> <a href='https://archive.apache.org/dist/groovy/4.0.2/distribution/apache-groovy-docs-4.0.2.zip.sha256'>sha256</a></td><td><a href='https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/apache-groovy-sdk-4.0.2.zip'><i class='fa fa-file-zip-o fa-4x'></i><br/> SDK bundle</a> <a href='https://www.apache.org/dyn/closer.lua/groovy/4.0.2/distribution/apache-groovy-sdk-4.0.2.zip?action=download'>(mirror)</a><br/><span style='font-variant: small-caps'>dist: </span><a href='https://downloads.apache.org/groovy/4.0.2/distribution/apache-groovy-sdk-4.0.2.zip.asc'>asc</a> <a href='https://downloads.apache.org/groovy/4.0.2/distribution/apache-groovy-sdk-4.0.2.zip.sha256'>sha256</a><br/><span style='font-variant: small-caps'>perm: </span><a href='https://archive.apache.org/dist/groovy/4.0.2/distribution/apache-groovy-sdk-4.0.2.zip.asc'>asc</a> <a href='https://archive.apache.org/dist/groovy/4.0.2/distribution/apache-groovy-sdk-4.0.2.zip.sha256'>sha256</a></td><td><a href='https://groovy.jfrog.io/artifactory/dist-release-local/groovy-windows-installer/groovy-4.0.2/' rel='nofollow'><i class='fa fa-windows fa-4x'></i><br/> Windows installer</a><br/>(community artifact)</td></tr></table><p>Please consult the <a href='http://groovy-lang.org/changelogs/changelog-4.0.2.html'> change log</a> for details. </p><h2><i class='fa fa-star'></i> Groovy 3.0</h2><p><a href='http://groovy-lang.org/releasenotes/groovy-3.0.html'>Groovy 3.0</a> is the previous stable <a href='versioning.html'>version</a> of Groovy designed for JDK8+ with a new more flexible parser (aka Parrot parser).</p><h3>3.0.10 distributions</h3><table width='100%' class='download-table'><tr><td><a href='https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/apache-groovy-binary-3.0.10.zip'><i class='fa fa-gears fa-4x'></i><br/>binary</a> <a href='https://www.apache.org/dyn/closer.lua/groovy/3.0.10/distribution/apache-groovy-binary-3.0.10.zip?action=download'>(mirror)</a><br/><span style='font-variant: small-caps'>dist: </span><a href='https://downloads.apache.org/groovy/3.0.10/distribution/apache-groovy-binary-3.0.10.zip.asc'>asc</a> <a href='https://downloads.apache.org/groovy/3.0.10/distribution/apache-groovy-binary-3.0.10.zip.sha256'>sha256</a><br/><span style='font-variant: small-caps'>perm: </span><a href='https://archive.apache.org/dist/groovy/3.0.10/distribution/apache-groovy-binary-3.0.10.zip.asc'>asc</a> <a href='https://archive.apache.org/dist/groovy/3.0.10/distribution/apache-groovy-binary-3.0.10.zip.sha256'>sha256</a></td><td><a href='https://www.apache.org/dyn/closer.lua/groovy/3.0.10/sources/apache-groovy-src-3.0.10.zip?action=download'><i class='fa fa-code fa-4x'></i><br/> source</a><br/><span style='font-variant: small-caps'></span><a href='https://downloads.apache.org/groovy/3.0.10/sources/apache-groovy-src-3.0.10.zip.asc'>asc</a> <a href='https://downloads.apache.org/groovy/3.0.10/sources/apache-groovy-src-3.0.10.zip.sha256'>sha256</a></td><td><a href='https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/apache-groovy-docs-3.0.10.zip'><i class='fa fa-file-text fa-4x'></i><br/> documentation</a> <a href='https://www.apache.org/dyn/closer.lua/groovy/3.0.10/distribution/apache-groovy-docs-3.0.10.zip?action=download'>(mirror)</a><br/><span style='font-variant: small-caps'>dist: </span><a href='https://downloads.apache.org/groovy/3.0.10/distribution/apache-groovy-docs-3.0.10.zip.asc'>asc</a> <a href='https://downloads.apache.org/groovy/3.0.10/distribution/apache-groovy-docs-3.0.10.zip.sha256'>sha256</a><br/><span style='font-variant: small-caps'>perm: </span><a href='https://archive.apache.org/dist/groovy/3.0.10/distribution/apache-groovy-docs-3.0.10.zip.asc'>asc</a> <a href='https://archive.apache.org/dist/groovy/3.0.10/distribution/apache-groovy-docs-3.0.10.zip.sha256'>sha256</a></td><td><a href='https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/apache-groovy-sdk-3.0.10.zip'><i class='fa fa-file-zip-o fa-4x'></i><br/> SDK bundle</a> <a href='https://www.apache.org/dyn/closer.lua/groovy/3.0.10/distribution/apache-groovy-sdk-3.0.10.zip?action=download'>(mirror)</a><br/><span style='font-variant: small-caps'>dist: </span><a href='https://downloads.apache.org/groovy/3.0.10/distribution/apache-groovy-sdk-3.0.10.zip.asc'>asc</a> <a href='https://downloads.apache.org/groovy/3.0.10/distribution/apache-groovy-sdk-3.0.10.zip.sha256'>sha256</a><br/><span style='font-variant: small-caps'>perm: </span><a href='https://archive.apache.org/dist/groovy/3.0.10/distribution/apache-groovy-sdk-3.0.10.zip.asc'>asc</a> <a href='https://archive.apache.org/dist/groovy/3.0.10/distribution/apache-groovy-sdk-3.0.10.zip.sha256'>sha256</a></td><td><a href='https://groovy.jfrog.io/artifactory/dist-release-local/groovy-windows-installer/groovy-3.0.10/' rel='nofollow'><i class='fa fa-windows fa-4x'></i><br/> Windows installer</a><br/>(community artifact)</td></tr></table><p>Please consult the <a href='http://groovy-lang.org/changelogs/changelog-3.0.10.html'> change log</a> for details. </p><h2><i class='fa fa-star'></i> Groovy 2.5</h2><p><a href='http://groovy-lang.org/releasenotes/groovy-2.5.html'>Groovy 2.5</a> is an earlier <a href='versioning.html'>version</a> of Groovy still in widespread use.</p><h3>2.5.16 distributions</h3><table width='100%' class='download-table'><tr><td><a href='https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/apache-groovy-binary-2.5.16.zip'><i class='fa fa-gears fa-4x'></i><br/>binary</a> <a href='https://www.apache.org/dyn/closer.lua/groovy/2.5.16/distribution/apache-groovy-binary-2.5.16.zip?action=download'>(mirror)</a><br/><span style='font-variant: small-caps'>dist: </span><a href='https://downloads.apache.org/groovy/2.5.16/distribution/apache-groovy-binary-2.5.16.zip.asc'>asc</a> <a href='https://downloads.apache.org/groovy/2.5.16/distribution/apache-groovy-binary-2.5.16.zip.sha256'>sha256</a><br/><span style='font-variant: small-caps'>perm: </span><a href='https://archive.apache.org/dist/groovy/2.5.16/distribution/apache-groovy-binary-2.5.16.zip.asc'>asc</a> <a href='https://archive.apache.org/dist/groovy/2.5.16/distribution/apache-groovy-binary-2.5.16.zip.sha256'>sha256</a></td><td><a href='https://www.apache.org/dyn/closer.lua/groovy/2.5.16/sources/apache-groovy-src-2.5.16.zip?action=download'><i class='fa fa-code fa-4x'></i><br/> source</a><br/><span style='font-variant: small-caps'></span><a href='https://downloads.apache.org/groovy/2.5.16/sources/apache-groovy-src-2.5.16.zip.asc'>asc</a> <a href='https://downloads.apache.org/groovy/2.5.16/sources/apache-groovy-src-2.5.16.zip.sha256'>sha256</a></td><td><a href='https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/apache-groovy-docs-2.5.16.zip'><i class='fa fa-file-text fa-4x'></i><br/> documentation</a> <a href='https://www.apache.org/dyn/closer.lua/groovy/2.5.16/distribution/apache-groovy-docs-2.5.16.zip?action=download'>(mirror)</a><br/><span style='font-variant: small-caps'>dist: </span><a href='https://downloads.apache.org/groovy/2.5.16/distribution/apache-groovy-docs-2.5.16.zip.asc'>asc</a> <a href='https://downloads.apache.org/groovy/2.5.16/distribution/apache-groovy-docs-2.5.16.zip.sha256'>sha256</a><br/><span style='font-variant: small-caps'>perm: </span><a href='https://archive.apache.org/dist/groovy/2.5.16/distribution/apache-groovy-docs-2.5.16.zip.asc'>asc</a> <a href='https://archive.apache.org/dist/groovy/2.5.16/distribution/apache-groovy-docs-2.5.16.zip.sha256'>sha256</a></td><td><a href='https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/apache-groovy-sdk-2.5.16.zip'><i class='fa fa-file-zip-o fa-4x'></i><br/> SDK bundle</a> <a href='https://www.apache.org/dyn/closer.lua/groovy/2.5.16/distribution/apache-groovy-sdk-2.5.16.zip?action=download'>(mirror)</a><br/><span style='font-variant: small-caps'>dist: </span><a href='https://downloads.apache.org/groovy/2.5.16/distribution/apache-groovy-sdk-2.5.16.zip.asc'>asc</a> <a href='https://downloads.apache.org/groovy/2.5.16/distribution/apache-groovy-sdk-2.5.16.zip.sha256'>sha256</a><br/><span style='font-variant: small-caps'>perm: </span><a href='https://archive.apache.org/dist/groovy/2.5.16/distribution/apache-groovy-sdk-2.5.16.zip.asc'>asc</a> <a href='https://archive.apache.org/dist/groovy/2.5.16/distribution/apache-groovy-sdk-2.5.16.zip.sha256'>sha256</a></td><td><a href='https://groovy.jfrog.io/artifactory/dist-release-local/groovy-windows-installer/groovy-2.5.16/' rel='nofollow'><i class='fa fa-windows fa-4x'></i><br/> Windows installer</a><br/>(community artifact)</td></tr></table><p>Please consult the <a href='http://groovy-lang.org/changelogs/changelog-2.5.16.html'> change log</a> for details. </p><h2><i class='fa fa-star'></i> Groovy 2.4</h2><p><a href='http://groovy-lang.org/releasenotes/groovy-2.4.html'>Groovy 2.4</a> is an earlier <a href='versioning.html'>version</a> of Groovy still in widespread use. We encourage users to upgrade from this version as we no longer support this version actively. Important: Releases before 2.4.4 weren't done under the Apache Software Foundation and are provided as a convenience, without any warranty.</p><h3>2.4.21 distributions</h3><table width='100%' class='download-table'><tr><td><a href='https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/apache-groovy-binary-2.4.21.zip'><i class='fa fa-gears fa-4x'></i><br/>binary</a> <a href='https://www.apache.org/dyn/closer.lua/groovy/2.4.21/distribution/apache-groovy-binary-2.4.21.zip?action=download'>(mirror)</a><br/><span style='font-variant: small-caps'>dist: </span><a href='https://downloads.apache.org/groovy/2.4.21/distribution/apache-groovy-binary-2.4.21.zip.asc'>asc</a> <a href='https://downloads.apache.org/groovy/2.4.21/distribution/apache-groovy-binary-2.4.21.zip.sha256'>sha256</a><br/><span style='font-variant: small-caps'>perm: </span><a href='https://archive.apache.org/dist/groovy/2.4.21/distribution/apache-groovy-binary-2.4.21.zip.asc'>asc</a> <a href='https://archive.apache.org/dist/groovy/2.4.21/distribution/apache-groovy-binary-2.4.21.zip.sha256'>sha256</a></td><td><a href='https://www.apache.org/dyn/closer.lua/groovy/2.4.21/sources/apache-groovy-src-2.4.21.zip?action=download'><i class='fa fa-code fa-4x'></i><br/> source</a><br/><span style='font-variant: small-caps'></span><a href='https://downloads.apache.org/groovy/2.4.21/sources/apache-groovy-src-2.4.21.zip.asc'>asc</a> <a href='https://downloads.apache.org/groovy/2.4.21/sources/apache-groovy-src-2.4.21.zip.sha256'>sha256</a></td><td><a href='https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/apache-groovy-docs-2.4.21.zip'><i class='fa fa-file-text fa-4x'></i><br/> documentation</a> <a href='https://www.apache.org/dyn/closer.lua/groovy/2.4.21/distribution/apache-groovy-docs-2.4.21.zip?action=download'>(mirror)</a><br/><span style='font-variant: small-caps'>dist: </span><a href='https://downloads.apache.org/groovy/2.4.21/distribution/apache-groovy-docs-2.4.21.zip.asc'>asc</a> <a href='https://downloads.apache.org/groovy/2.4.21/distribution/apache-groovy-docs-2.4.21.zip.sha256'>sha256</a><br/><span style='font-variant: small-caps'>perm: </span><a href='https://archive.apache.org/dist/groovy/2.4.21/distribution/apache-groovy-docs-2.4.21.zip.asc'>asc</a> <a href='https://archive.apache.org/dist/groovy/2.4.21/distribution/apache-groovy-docs-2.4.21.zip.sha256'>sha256</a></td><td><a href='https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/apache-groovy-sdk-2.4.21.zip'><i class='fa fa-file-zip-o fa-4x'></i><br/> SDK bundle</a> <a href='https://www.apache.org/dyn/closer.lua/groovy/2.4.21/distribution/apache-groovy-sdk-2.4.21.zip?action=download'>(mirror)</a><br/><span style='font-variant: small-caps'>dist: </span><a href='https://downloads.apache.org/groovy/2.4.21/distribution/apache-groovy-sdk-2.4.21.zip.asc'>asc</a> <a href='https://downloads.apache.org/groovy/2.4.21/distribution/apache-groovy-sdk-2.4.21.zip.sha256'>sha256</a><br/><span style='font-variant: small-caps'>perm: </span><a href='https://archive.apache.org/dist/groovy/2.4.21/distribution/apache-groovy-sdk-2.4.21.zip.asc'>asc</a> <a href='https://archive.apache.org/dist/groovy/2.4.21/distribution/apache-groovy-sdk-2.4.21.zip.sha256'>sha256</a></td><td><a href='https://groovy.jfrog.io/artifactory/dist-release-local/groovy-windows-installer/groovy-2.4.21/' rel='nofollow'><i class='fa fa-windows fa-4x'></i><br/> Windows installer</a><br/>(community artifact)</td></tr></table><p>Please consult the <a href='http://groovy-lang.org/changelogs/changelog-2.4.21.html'> change log</a> for details. </p><article><h3>Other versions</h3><p>Downloads for all versions are hosted (and mirrored) in:<ul><li>Apache&apos;s <a href='https://www.apache.org/dyn/closer.lua/groovy/'>release mirrors</a> and <a href='https://archive.apache.org/dist/groovy/'>archive repository</a>.</li><li>Groovy&apos;s <a href='https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/'>artifactory instance</a> (includes pre-ASF versions).</li></ul></p><p>You can also read the changelogs for <a href='http://groovy-lang.org/changelogs.html'>all versions</a>.</p></article><article><h3>Invoke dynamic support</h3><p>Please read the <a href='http://groovy-lang.org/indy.html'>invoke dynamic support information</a> if you would like to enable indy support and are using Groovy on JDK 7+.</p></article></article><hr class='divider'/><a name='osinstall'></a><article><h1>Operating system/package manager installation</h1><p><a href='http://groovy-lang.org/install.html'>Installing</a> Apache Groovy from a distribution zip is not hard but if you don&apos;t want the hassle, consider the alternatives listed here.</p><article><p><a href='http://sdkman.io/'>SDKMAN!</a> is a tool for managing parallel versions of multiple Software Development Kits on most Unix-based systems:</p><pre><code>$ sdk install groovy</code></pre><p>Windows users: see the SDKMAN <a href='https://sdkman.io/install'>install</a> instructions for potential options.</p></article><article><p><a href='http://brew.sh/'>Homebrew</a> is &quot;the missing package manager for macOS&quot;:</p><pre><code>$ brew install groovy</code></pre></article><article><p><a href='https://snapcraft.io/'>SnapCraft</a> is &quot;the app store for Linux&quot;. Groovy is supported in the <a href='https://snapcraft.io/groovy'>store</a> or via the commandline:</p><pre><code>$ sudo snap install groovy --classic</code></pre></article><article><p><a href='http://www.macports.org/'>MacPorts</a> is a system for managing tools on macOS:</p><pre><code>$ sudo port install groovy</code></pre></article><article><p><a href='http://scoop.sh/'>Scoop</a> is a command-line installer for Windows inspired by Homebrew:</p><pre><code>> scoop install groovy</code></pre></article><article><p><a href='https://chocolatey.org/'>Chocolatey</a> provides a sane way to manage software on Windows:</p><pre><code>> choco install groovy</code></pre></article><p>Linux/*nix users: you may also find Groovy is available using your preferred operating system package manager, e.g.: apt, dpkg, pacman, etc.</p><p>Windows users: consider also the Windows installer (see links above under Distributions).</p></article><hr class='divider'/><a name='buildtools'></a><article><h1>From your build tools</h1><p>If you wish to add Groovy as a dependency in your projects, you can refer to the Groovy JARs in the dependency section of your project build file descriptor:</p><table class='table'><thead><tr><th>Gradle</th><th>Maven</th><th>Explanation</th></tr></thead><tbody><tr><td colspan='3' style='text-align:center'><strong><em>Groovy versions 1.x to 3.x</em></strong></td></tr><tr><td><code>org.codehaus.groovy:groovy:x.y.z</code></td><td><code>&lt;groupId&gt;org.codehaus.groovy&lt;/groupId&gt;</code><br/><code>&lt;artifactId&gt;groovy&lt;/artifactId&gt;</code><br/><code>&lt;version&gt;x.y.z&lt;/version&gt;</code></td><td>Just the core of Groovy without the modules*. Also includes jarjar'ed versions of Antlr, ASM, and an internal copy of needed CLI implementation classes.</td></tr><tr><td><code>org.codehaus.groovy:groovy-$module:x.y.z</code></td><td><code>&lt;groupId&gt;org.codehaus.groovy&lt;/groupId&gt;</code><br/><code>&lt;artifactId&gt;groovy-$module&lt;/artifactId&gt;</code><br/><code>&lt;version&gt;x.y.z&lt;/version&gt;</code></td><td><code>"$module"</code> stands for the different optional groovy modules*. Example: <code>&lt;artifactId&gt;groovy-sql&lt;/artifactId&gt;</code>.</td></tr><tr><td><code>org.codehaus.groovy:groovy-all:x.y.z</code></td><td><code>&lt;groupId&gt;org.codehaus.groovy&lt;/groupId&gt;</code><br/><code>&lt;artifactId&gt;groovy-all&lt;/artifactId&gt;</code><br/><code>&lt;version&gt;x.y.z&lt;/version&gt;</code><br/><code>&lt;type&gt;pom&lt;/type&gt; &lt;!-- required JUST since Groovy 2.5.0 --&gt;</code></td><td>Core plus all of the modules (excluding optional modules) according to the version packaging scheme**.</td></tr><tr><td colspan='3' style='text-align:center'><strong><em>Groovy versions 4.0+</em></strong></td></tr><tr><td colspan='3'>As above but use <code>org.apache.groovy</code> instead of <code>org.codehaus.groovy</code>.</td></tr><tr><td colspan='3'>For <code>groovy-bom</code> when using Gradle 6+ use <code>implementation platform('org.apache.groovy:groovy-bom:x.y.z')</code> instead of <code>implementation 'org.codehaus.groovy:groovy-bom:x.y.z'</code>.</td></tr><tr><td colspan='3'>* Modules:<br/><em>2.4.X:</em> &quot;ant&quot;, &quot;bsf&quot;, &quot;console&quot;, &quot;docgenerator&quot;, &quot;groovydoc&quot;, &quot;groovysh&quot;, &quot;jmx&quot;, &quot;json&quot;, &quot;jsr223&quot;, &quot;nio&quot;, &quot;servlet&quot;, &quot;sql&quot;, &quot;swing&quot;, &quot;test&quot;, &quot;templates&quot;, &quot;testng&quot; and &quot;xml&quot;<br/><em>2.5.0:</em> as above but excluding optional module &quot;bsf&quot; plus &quot;cli-picocli&quot;, &quot;datetime&quot;, &quot;macro&quot;, &quot;test-junit5&quot;. Optional modules: &quot;bsf&quot;, &quot;dateutil&quot;, &quot;cli-commons&quot;<br/><em>2.5.1+:</em> as above but &quot;groovy-jaxb&quot; is moved to become optional<br/><em>3.0.0+:</em> as above but &quot;groovy-yaml&quot; is a new optional module<br/><em>4.0.0+:</em> as above but &quot;groovy-contracts&quot;, &quot;groovy-typecheckers&quot; and &quot;groovy-macro-library&quot; are new optional modules, &quot;groovy-jaxb&quot; and &quot;groovy-bsf&quot; are no longer supported, &quot;groovy-yaml&quot; is now included in &quot;groovy-all&quot;, and &quot;groovy-testng&quot; is now an optional module</td></tr><tr><td colspan='3'>** Packaging Scheme:<br/><em>2.4.X:</em> The core plus all the modules merged into one &quot;fat jar&quot;. Optional dependencies are marked as optional, so you may need to include some of the optional dependencies to use some features of Groovy, e.g. AntBuilder, GroovyMBeans...<br/><em>2.5+:</em> A &quot;fat pom&quot; <code>groovy-all-x.y.z.pom</code> referring to the core plus all modules (excluding optional ones). In order to cater to the module system of Java 9+, the <code>groovy-all-x.y.z.jar</code> file is no longer available.</td></tr><tr><td colspan='3'>Indy jars<br/>You can access the indy version of the core or a module jar by using the &apos;indy&apos; classifier.</td></tr></tbody></table><h3>Maven repositories</h3><table class='table'><thead><tr><th>Groovy version(s)</th><th>Release Jars</th></tr></thead><tbody><tr><td><strong><em>Groovy versions 1.x to 3.x</em></strong></td><td><a href='https://repo1.maven.org/maven2/org/codehaus/groovy/'>Maven Central</a> or <a href='https://groovy.jfrog.io/artifactory/libs-release-local/org/codehaus/groovy'>Groovy artifactory release repository</a></td></tr><tr><td><strong><em>Groovy versions 4.x+</em></strong></td><td><a href='https://repo1.maven.org/maven2/org/apache/groovy/'>Maven Central</a> or <a href='https://groovy.jfrog.io/artifactory/libs-release-local/org/apache/groovy'>Groovy artifactory release repository</a></td></tr></tbody></table><p>Note for the development community: developers needing access to pre-release artifacts to assist with integration testing leading up to an official release should consult the appropriate <a href='snapshots.html'>developer documentation</a>.</p></article><hr class='divider'/><a name='requirements'></a><article><h1>System requirements</h1><p><table class='table'><thead><tr><th>Groovy</th><th>JVM Required (non-indy)</th><th>JVM Required (indy) *</th></tr></thead><tbody><tr><td><b>4.0 - current</b></td><td>N/A</td><td>1.8+</td></tr><tr><td><b>3.x</b></td><td>1.8+</td><td>1.8+</td></tr><tr><td><b>2.5 - 2.6</b></td><td>1.7+</td><td>1.7+</td></tr><tr><td><b>2.3 - 2.4</b></td><td>1.6+</td><td>1.7+</td></tr><tr><td><b>2.0 - 2.2</b></td><td>1.5+</td><td>1.7+</td></tr><tr><td><b>1.6 - 1.8</b></td><td>1.5+</td><td>N/A</td></tr><tr><td><b>1.5</b></td><td>1.4+</td><td>N/A</td></tr><tr><td><b>1.0</b></td><td>1.4-1.7</td><td>N/A</td></tr></tbody></table>* If you plan to use invoke dynamic support, please read the <a href='http://groovy-lang.org/indy.html'>support information</a>.</p></article></div></div></div></div><footer id='footer'>
<div class='row'>
<div class='colset-3-footer'>
<div class='col-1'>
<h1>Groovy</h1><ul>
<li><a href='http://groovy-lang.org/learn.html'>Learn</a></li><li><a href='http://groovy-lang.org/documentation.html'>Documentation</a></li><li><a href='/download.html'>Download</a></li><li><a href='http://groovy-lang.org/support.html'>Support</a></li><li><a href='/'>Contribute</a></li><li><a href='http://groovy-lang.org/ecosystem.html'>Ecosystem</a></li>
</ul>
</div><div class='col-2'>
<h1>About</h1><ul>
<li><a href='https://github.com/apache/groovy'>Source code</a></li><li><a href='http://groovy-lang.org/security.html'>Security</a></li><li><a href='http://groovy-lang.org/learn.html#books'>Books</a></li><li><a href='http://groovy-lang.org/thanks.html'>Thanks</a></li><li><a href='http://www.apache.org/foundation/sponsorship.html'>Sponsorship</a></li><li><a href='http://groovy-lang.org/faq.html'>FAQ</a></li><li><a href='http://groovy-lang.org/search.html'>Search</a></li>
</ul>
</div><div class='col-3'>
<h1>Socialize</h1><ul>
<li><a href='http://groovy-lang.org/mailing-lists.html'>Discuss on the mailing-list</a></li><li><a href='http://groovy-lang.org/groovy-weekly.html'>Groovy newsletter</a></li><li><a href='https://twitter.com/ApacheGroovy'>Groovy on Twitter</a></li><li><a href='http://groovy-lang.org/events.html'>Events and conferences</a></li><li><a href='https://github.com/apache/groovy'>Source code on GitHub</a></li><li><a href='http://groovy-lang.org/reporting-issues.html'>Report issues in Jira</a></li><li><a href='http://stackoverflow.com/questions/tagged/groovy'>Stack Overflow questions</a></li><li><a href='http://groovycommunity.com/'>Slack Community</a></li>
</ul>
</div><div class='col-right'>
<p>
The Groovy programming language is supported by the <a href='http://www.apache.org'>Apache Software Foundation</a> and the Groovy community
</p><img src='img/asf_logo.png' title='The Apache Software Foundation' alt='The Apache Software Foundation' class='img-responsive'/>
</div>
</div><div class='clearfix'>&copy; 2003-2022 the Apache Groovy project &mdash; Groovy is Open Source, <a href='http://www.apache.org/licenses/LICENSE-2.0.html'>Apache 2 License</a></div>
</div>
</footer></div>
</div>
</div>
</div>
</div><script src='js/vendor/jquery-1.10.2.min.js' defer></script><script src='js/vendor/classie.js' defer></script><script src='js/vendor/bootstrap.js' defer></script><script src='js/vendor/sidebarEffects.js' defer></script><script src='js/vendor/modernizr-2.6.2.min.js' defer></script><script src='js/plugins.js' defer></script><script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-257558-10', 'auto');
ga('send', 'pageview');
</script>
</body></html>