Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Groovy environment


May 14, 2021 Groovy



There are several ways to get Groovy environment settings.

Download and install - Go to the link www.groovy-lang.org/download.html get the Windows Installer section.

Groovy environment

Start the Groovy installer, and then follow these steps to complete the installation.

Step 1 - Select the language installer.

Groovy environment

Step 2 - Click the Next button.

Groovy environment

Step 3 - Click the "I agree" button.

Groovy environment

Step 4 - Accept the default component, and then click the Next button.

Groovy environment

Step 5 - Select the appropriate destination folder and click the Next button.

Groovy environment

Step 6 - Click the installation button to start the installation.

Groovy environment

Step 7 - Once the installation is complete, click the Next button to start the configuration.

Groovy environment

Step 8 - Select the default option and click the Next button.

Groovy environment

Step 9 - Accept the default file association, and then click the Next button.

Groovy environment

Step 10 - Click the Finish button to complete the installation.

Groovy environment

Once you've taken the steps above, you can start using Groovy shell to help test our Groovy without providing Groovy with a complete integrated development environment. T his can be done by commanding groovysh at the command prompt.

Groovy environment

If you want to include the groovy binary as part of the maven or gradle build, you can add the following lines

Gradle

'org.codehaus.groovy:groovy:2.4.5'

Maven

<groupId>org.codehaus.groovy</groupId> 
<artifactId>groovy</artifactId>  
<version>2.4.5</version>