Menu
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.
![Groovy file api Groovy file api](/uploads/1/2/6/2/126292989/364082454.png)
- Groovy Tutorial
- Groovy Useful Resources
- Selected Reading
There are a variety of ways to get the Groovy environment setup.
Binary download and installation − Go to the link www.groovy-lang.org/download.html to get the Windows Installer section. Click on this option to start the download of the Groovy installer.
Once you launch the installer, follow the steps given below to complete the installation.
Step 1 − Select the language installer.
Step 2 − Click the Next button in the next screen.
Step 3 − Click the ‘I Agree’ button.
![Java code to download a file from server Java code to download a file from server](http://3.bp.blogspot.com/-mj6EjJhHuf4/UpY-7rPJYiI/AAAAAAAAEzU/JxX4CxqTew4/s1600/guavaDownloadedPdfsToBeCompressedWith7Zip.png)
Step 4 − Accept the default components and click the Next button.
Step 5 − Choose the appropriate destination folder and then click the Next button.
Step 6 − Click the Install button to start the installation.
Step 7 − Once the installation is complete, click the Next button to start the configuration.
Step 8 − Choose the default options and click the Next button.
Step 9 − Accept the default file associations and click the Next button.
Step 10 − Click the Finish button to complete the installation.
Once the above steps are followed, you can then start the groovy shell which is part of the Groovy installation that helps in testing our different aspects of the Groovy language without the need of having a full-fledged integrated development environment for Groovy. This can be done by running the command groovysh from the command prompt.
If you want to include the groovy binaries as part of you maven or gradle build, you can add the following lines
Gradle
Maven
Version | Repository | Usages | Date | |
---|---|---|---|---|
3.0.0-rc-2 | Central | 0 | Dec, 2019 | |
3.0.0-rc-1 | Central | 3 | Oct, 2019 | |
3.0.0-beta-3 | Central | 1 | Aug, 2019 | |
3.0.0-beta-2 | Central | 0 | Jul, 2019 | |
3.0.0-beta-1 | Central | 0 | May, 2019 | |
3.0.0-alpha-4 | Central | 0 | Dec, 2018 | |
3.0.0-alpha-3 | Central | 1 | Jun, 2018 | |
3.0.0-alpha-2 | Central | 0 | Apr, 2018 | |
3.0.0-alpha-1 | Central | 2 | Nov, 2017 | |
2.6.x | 2.6.0-alpha-4 | Central | 0 | Jun, 2018 |
2.6.0-alpha-3 | Central | 0 | Mar, 2018 | |
2.6.0-alpha-2 | Central | 0 | Nov, 2017 | |
2.6.0-alpha-1 | Central | 0 | Sep, 2017 | |
2.5.8 | Central | 74 | Aug, 2019 | |
2.5.7 | Central | 140 | May, 2019 | |
2.5.6 | Central | 147 | Feb, 2019 | |
2.5.5 | Central | 36 | Dec, 2018 | |
2.5.4 | Central | 52 | Nov, 2018 | |
2.5.3 | Central | 15 | Oct, 2018 | |
2.5.2 | Central | 36 | Aug, 2018 | |
2.5.1 | Central | 6 | Jul, 2018 | |
2.5.0 | Central | 10 | Jun, 2018 | |
2.5.0-rc-3 | Central | 1 | May, 2018 | |
2.5.0-rc-2 | Central | 0 | May, 2018 | |
2.5.0-rc-1 | Central | 0 | Apr, 2018 | |
2.5.0-beta-3 | Central | 0 | Feb, 2018 | |
2.5.0-beta-2 | Central | 4 | Oct, 2017 | |
2.5.0-beta-1 | Central | 15 | Jun, 2017 | |
2.5.0-alpha-1 | Central | 1 | Apr, 2017 | |
2.4.x | 2.4.17 | Central | 44 | May, 2019 |
2.4.16 | Central | 49 | Dec, 2018 | |
2.4.15 | Central | 389 | Mar, 2018 | |
2.4.14 | Central | 17 | Mar, 2018 | |
2.4.13 | Central | 248 | Nov, 2017 | |
2.4.12 | Central | 374 | Jun, 2017 | |
2.4.11 | Central | 233 | Apr, 2017 | |
2.4.10 | Central | 173 | Mar, 2017 | |
2.4.9 | Central | 61 | Feb, 2017 | |
2.4.8 | Central | 100 | Jan, 2017 | |
2.4.7 | Central | 524 | Jun, 2016 | |
2.4.6 | Central | 347 | Feb, 2016 | |
2.4.5 | Central | 325 | Sep, 2015 | |
2.4.4 | Central | 381 | Jul, 2015 | |
2.4.3 | Central | 254 | Mar, 2015 | |
2.4.2 | Central | 14 | Mar, 2015 | |
2.4.1 | Central | 144 | Feb, 2015 | |
2.4.0 | Central | 89 | Jan, 2015 | |
2.4.0-rc-2 | Central | 1 | Jan, 2015 | |
2.4.0-rc-1 | Central | 0 | Dec, 2014 | |
2.4.0-beta-4 | Central | 1 | Nov, 2014 | |
2.4.0-beta-3 | Central | 2 | Sep, 2014 | |
2.4.0-beta-2 | Central | 0 | Jul, 2014 | |
2.4.0-beta-1 | Central | 4 | Jun, 2014 | |
2.3.11 | Central | 234 | Mar, 2015 | |
2.3.10 | Central | 140 | Feb, 2015 | |
2.3.9 | Central | 101 | Dec, 2014 | |
2.3.8 | Central | 69 | Nov, 2014 | |
2.3.7 | Central | 188 | Sep, 2014 | |
2.3.6 | Central | 221 | Jul, 2014 | |
2.3.5 | Central | 17 | Jul, 2014 | |
2.3.4 | Central | 48 | Jul, 2014 | |
2.3.3 | Central | 102 | Jun, 2014 | |
2.3.2 | Central | 67 | May, 2014 | |
2.3.1 | Central | 20 | May, 2014 | |
2.3.0 | Central | 98 | May, 2014 | |
2.3.0-rc-4 | Central | 0 | May, 2014 | |
2.3.0-rc-2 | Central | 4 | Apr, 2014 | |
2.3.0-rc-1 | Central | 0 | Apr, 2014 | |
2.3.0-beta-2 | Central | 46 | Apr, 2014 | |
2.3.0-beta-1 | Central | 0 | Apr, 2014 | |
2.2.x | 2.2.2 | Central | 87 | Feb, 2014 |
2.2.1 | Central | 124 | Nov, 2013 | |
2.2.0 | Central | 26 | Nov, 2013 | |
2.2.0-rc-3 | Central | 1 | Nov, 2013 | |
2.2.0-rc-2 | Central | 0 | Oct, 2013 | |
2.2.0-rc-1 | Central | 0 | Oct, 2013 | |
2.2.0-beta-2 | Central | 0 | Sep, 2013 | |
2.2.0-beta-1 | Central | 1 | Jul, 2013 | |
2.1.9 | Central | 83 | Oct, 2013 | |
2.1.8 | Central | 60 | Oct, 2013 | |
2.1.7 | Central | 37 | Sep, 2013 | |
2.1.6 | Central | 65 | Jul, 2013 | |
2.1.5 | Central | 34 | Jun, 2013 | |
2.1.4 | Central | 4 | May, 2013 | |
2.1.3 | Central | 44 | Apr, 2013 | |
2.1.2 | Central | 37 | Mar, 2013 | |
2.1.1 | Central | 37 | Feb, 2013 | |
2.1.0 | Central | 22 | Jan, 2013 | |
2.1.0-rc-3 | Central | 0 | Jan, 2013 | |
2.1.0-rc-2 | Central | 0 | Jan, 2013 | |
2.1.0-rc-1 | Central | 0 | Jan, 2013 | |
2.1.0-beta-1 | Central | 2 | Dec, 2012 | |
2.0.x | 2.0.8 | Central | 63 | Apr, 2013 |
2.0.7 | Central | 85 | Feb, 2013 | |
2.0.6 | Central | 68 | Dec, 2012 | |
2.0.5 | Central | 82 | Oct, 2012 | |
2.0.4 | Central | 17 | Sep, 2012 | |
2.0.3 | Central | 0 | Sep, 2012 | |
2.0.2 | Central | 4 | Sep, 2012 | |
2.0.1 | Central | 22 | Jul, 2012 | |
2.0.0 | Central | 17 | Jun, 2012 | |
2.0.0-rc-4 | Central | 0 | Jun, 2012 | |
2.0.0-rc-3 | Central | 3 | Jun, 2012 | |
2.0.0-rc-2 | Central | 1 | Jun, 2012 | |
2.0.0-rc-1 | Central | 0 | May, 2012 | |
2.0.0-beta-3 | Central | 0 | May, 2012 | |
2.0.0-beta-2 | Central | 5 | Dec, 2011 | |
2.0.0-beta-1 | Central | 1 | Nov, 2011 | |
1.9.0-beta-4 | Central | 0 | Oct, 2011 | |
1.9.0-beta-3 | Central | 0 | Sep, 2011 | |
1.9.0-beta-2 | Central | 0 | Jul, 2011 | |
1.9.0-beta-1 | Central | 0 | Jul, 2011 | |
1.8.x | 1.8.9 | Central | 63 | Feb, 2013 |
1.8.8 | Central | 29 | Sep, 2012 | |
1.8.7 | Central | 6 | Jul, 2012 | |
1.8.6 | Central | 170 | Feb, 2012 | |
1.8.5 | Central | 47 | Dec, 2011 | |
1.8.4 | Central | 77 | Nov, 2011 | |
1.8.3 | Central | 44 | Oct, 2011 | |
1.8.2 | Central | 51 | Sep, 2011 | |
1.8.1 | Central | 32 | Jul, 2011 | |
1.8.0 | Central | 85 | Apr, 2011 | |
1.8.0-rc-4 | Central | 0 | Apr, 2011 | |
1.8.0-rc-3 | Central | 4 | Mar, 2011 | |
1.8.0-rc-2 | Central | 1 | Mar, 2011 | |
1.8.0-rc-1 | Central | 1 | Feb, 2011 | |
1.8.0-beta-4 | Central | 0 | Feb, 2011 | |
1.8.0-beta-3 | Central | 1 | Dec, 2010 | |
1.8.0-beta-2 | Central | 0 | Sep, 2010 | |
1.8.0-beta-1 | Central | 1 | Jul, 2010 | |
1.7.11 | Central | 2 | Jul, 2012 | |
1.7.10 | Central | 15 | Mar, 2011 | |
1.7.9 | Central | 4 | Mar, 2011 | |
1.7.8 | Central | 6 | Feb, 2011 | |
1.7.7 | Central | 7 | Feb, 2011 | |
1.7.6 | Central | 49 | Dec, 2010 | |
1.7.5 | Central | 44 | Sep, 2010 | |
1.7.4 | Central | 18 | Jul, 2010 | |
1.7.3 | Central | 20 | Jun, 2010 | |
1.7.2 | Central | 34 | Apr, 2010 | |
1.7.1 | Central | 16 | Feb, 2010 | |
1.7.0 | Central | 34 | Dec, 2009 | |
1.7-rc-2 | Central | 0 | Dec, 2009 | |
1.7-rc-1 | Central | 2 | Nov, 2009 | |
1.7-beta-2 | Central | 4 | Oct, 2009 | |
1.7-beta-1 | Central | 1 | Jul, 2009 | |
1.6.x | 1.6.9 | Central | 19 | Jun, 2010 |
1.6.8 | Central | 3 | Feb, 2010 | |
1.6.7 | Central | 8 | Dec, 2009 | |
1.6.6 | Central | 0 | Nov, 2009 | |
1.6.5 | Central | 21 | Oct, 2009 | |
1.6.4 | Central | 15 | Jul, 2009 | |
1.6.3 | Central | 21 | May, 2009 | |
1.6.2 | Central | 21 | Apr, 2009 | |
1.6.1 | Central | 2 | Apr, 2009 | |
1.6.0 | Central | 27 | Feb, 2009 | |
1.6-RC-3 | Central | 1 | Feb, 2009 | |
1.6-RC-2 | Central | 3 | Jan, 2009 | |
1.6-RC-1 | Central | 5 | Dec, 2008 | |
1.6-beta-2 | Central | 3 | Oct, 2008 | |
1.6-beta-1 | Central | 2 | May, 2008 | |
1.5.8 | Central | 3 | Apr, 2009 | |
1.5.7 | Central | 37 | Oct, 2008 | |
1.5.6 | Central | 30 | Apr, 2008 | |
1.5.5 | Central | 7 | Apr, 2008 | |
1.5.4 | Central | 10 | Feb, 2008 | |
1.5.3 | Central | 0 | Jan, 2008 | |
1.5.2 | Central | 1 | Jan, 2008 | |
1.5.1 | Central | 1 | Dec, 2007 | |
1.5.0 | Central | 6 | Dec, 2007 | |
1.1.x | 1.1-rc-3 | Central | 0 | Nov, 2007 |
1.1-rc-2 | Central | 1 | Nov, 2007 | |
1.1-rc-1 | Central | 2 | Oct, 2007 | |
1.1-beta-3 | Central | 2 | Sep, 2007 | |
1.1-beta-2 | Central | 6 | Jul, 2007 |