Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any way to know which groovy version used in grails project?

Tags:

grails

groovy

From grails project, we can know which grails version used .Like that can i get groovy version?

like image 448
Visme Avatar asked Jul 29 '13 04:07

Visme


1 Answers

You can look in the install directory under lib. For example in Grails 2.2.3 it's lib/org.codehaus.groovy/groovy-all/jars/groovy-all-2.0.8.jar so the version is 2.0.8.

If you want to find the value programmatically at runtime, call GroovySystem.getVersion() to get the current version string.

like image 195
Burt Beckwith Avatar answered Nov 17 '22 17:11

Burt Beckwith