(dear reader, this list is long outdated - please go to https://objectpartners.com/2015/05/14/list-of-groovy-versions-for-each-version-of-grails/ for a list that's regularly updated!)
As this is my first blog post, hello world!
Now that the formalities have been dealt with, here's a question I've had today: what version of Groovy does my Grails installation contain? Ok, that one is easy, hardly worth blogging about, but here's the quick answer anyway: start your favorite Groovy/Grails shell (two obvious candidates are grails shell and grails console) and execute the following:
println org.codehaus.groovy.runtime.InvokerHelper.version
But unfortunately, my Groovy version did not support a feature I wanted, so the next question was, what version of Grails would I have to upgrade to in order to get my feature? After some digging on the Grails JIRA, I compiled a table of Groovy/Grails versions that hopefully will help somebody else as well.
Grails version | Groovy version |
1.3.7 | 1.7.8 |
1.3.6 | |
1.3.5 | 1.7.5 |
1.3.4 | 1.7.4 |
1.3.3 | |
1.3.2 | 1.7.3 |
1.3.1 | |
1.3 | |
1.3 RC2 | |
1.3 RC1 | |
1.3 M1 | 1.7 |
1.2.5 | |
1.2.4 | |
1.2.3 | |
1.2.2 | 1.6.8 |
1.2.1 | |
1.2 | |
1.2-RC2 | |
1.2-RC1 | |
1.2-M4 | 1.6.5 |
1.2-M3 | |
1.2-M2 | 1.6.4 |
1.2-M1 | |
1.1.2 | |
1.1.1 | |
1.1 | |
1.1-RC2 | |
1.1-RC1 | 1.6 |
1.1-beta3 | |
1.1-beta2 | |
1.1-beta1 | |
1.0.5 | |
1.0.4 | |
1.0.3 | |
1.0.2 | |
1.0 | 1.5 |
See also https://gist.github.com/ishults/82a68897d85122562f65 for newer versions of Grails
ReplyDelete