Reputation: 6451
I download grails 2.2.1. I want to check which version of groovy this comes with? How do I this?
Upvotes: 0
Views: 1539
Reputation: 3011
As pointed out in the comments, it's possible to find the Groovy version of grails looking for the versions of the files in the folder depending on the version:
[GRAILS_FOLDER]/lib/org.codehaus.groovy/groovy/jars
or
[GRAILS_FOLDER]/lib/org.codehaus.groovy/groovy-all/jars
Upvotes: 0
Reputation: 41168
You can use the grails shell to launch an interactive Groovy console within Grails and identify the version.
$ grails shell
Groovy Shell (2.0.8, JVM: 1.7.0_21)
Type 'help' or 'h' for help.
-----------------------------------
groovy:000>
Upvotes: 3