Installing and Managing Groovy Versions

We often have to work with multiple versions of the language for various projects. The task of managing the right version for a project can quickly turn into a time sink if we’re not careful. GVM, the Groovy environment manager, can manage not only the versions of the Groovy language, but also versions of Groovy-related libraries and tools, like Grails, Griffon, Gradle, and so on.

The tool is a breeze to install and is supported on various flavors of xnix and on Windows through Cygwin.[7] Once you install GVM, you can see a list of available and installed versions of the language by simply running the command gvm list groovy. If you want to use a particular version of Groovy, say version 2.1.1, you can ...

Get Programming Groovy 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.