Learn how to install Groovy locally to solve Exercism's exercises on your own machine
In addition to the exercism CLI and your favorite text editor, practicing with Exercism exercises in Groovy requires
The preferred method of installing both Java and Gradle is with SDKman.
Detailed instructions can be found here. Briefly, open a shell and issue:
curl -s "https://get.sdkman.io" | bash
source "~/.sdkman/bin/sdkman-init.sh"
sdk install java
sdk install gradle
Side note: this method is also suitable for Cygwin and WSL on Windows
JAVA_HOME
environment variable set correctly.
You can test it by issuing javac -v
command.
To install JDK follow this instructions
gradle -v
command.
To install Gradle follow this instructions