Install groovy Ubuntu* http://groovy-lang.org/download.html* http://sdkman.io/usage.html
$ curl -s get.sdkman.io | bash
# Follow the instructions on-screen to complete installation.
# Open a new terminal or type the command:
$ source "$HOME/.sdkman/bin/sdkman-init.sh"
# Then install the latest stable Groovy:
$ sdk install groovy