- Groovy - Meta Object Programming
- Groovy - Template Engines
- Groovy - Unit Testing
- Groovy - Command Line
- Groovy - Builders
- Groovy - Database
- Groovy - DSLS
- Groovy - JSON
- Groovy - JMX
- Groovy - XML
- Groovy - Annotations
- Groovy - Closures
- Groovy - Traits
- Groovy - Generics
- Groovy - Object Oriented
- Groovy - Exception Handling
- Groovy - Regular Expressions
- Groovy - Dates & Times
- Groovy - Maps
- Groovy - Lists
- Groovy - Ranges
- Groovy - Strings
- Groovy - Numbers
- Groovy - Optionals
- Groovy - File I/O
- Groovy - Methods
- Groovy - Decision Making
- Groovy - Loops
- Groovy - Operators
- Groovy - Variables
- Groovy - Data Types
- Groovy - Basic Syntax
- Groovy - Environment
- Groovy - Overview
- Groovy - Home
Groovy Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Groovy - Environment
There are a variety of ways to get the Groovy environment setup.
Binary download and installation − Go to the pnk
to get the Windows Installer section. Cpck 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 − Cpck the Next button in the next screen.

Step 3 − Cpck the ‘I Agree’ button.

Step 4 − Accept the default components and cpck the Next button.

Step 5 − Choose the appropriate destination folder and then cpck the Next button.

Step 6 − Cpck the Install button to start the installation.

Step 7 − Once the installation is complete, cpck the Next button to start the configuration.

Step 8 − Choose the default options and cpck the Next button.

Step 9 − Accept the default file associations and cpck the Next button.

Step 10 − Cpck 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 pnes
Gradle
org.codehaus.groovy:groovy:2.4.5
Maven
<groupId>org.codehaus.groovy</groupId> <artifactId>groovy</artifactId> <version>2.4.5</version>Advertisements