Which version of Groovy am I using with this Grails version?

Two nights ago Jack Frosch gave a great summary of the new features in Grails 2.3 at the DFW Groovy – Grails User Group. At the end of the meeting somebody asked him what version of Groovy shipped with Grails 2.3. I could tell by the look on his face he wasn’t sure, so I came to the rescue.

Considering nobody else in the room could answer the question, I figured I would blog my answer. For starters, you have two easy options to get the version of Groovy used in your Grails distribution.

You can simply look at the Grails installation on your workstation. One of the benefits of Grails is that it ships with everything you need to build your webapp, including Groovy. Just drill down into the lib dir and look at the jar file.

Fri Dec 06 13:43 eweibust@RSNPLALT538 ~/dev/hello
$ ls $GRAILS_HOME/lib/org.codehaus.groovy/groovy-all/jars
groovy-all-2.1.6.jar          groovy-all-2.1.6-sources.jar

You can also get the version programatically with the following call:

println "groovy version: " + GroovySystem.getVersion()

Which prints:

groovy version: 2.1.6

Hey, Google, you should go ahead and crawl this one. Should be useful to others. 😉

9 thoughts on “Which version of Groovy am I using with this Grails version?”

  1. Useful information. Lucky me I discovered your website unintentionally, and I’m surprised why this twist of fate didn’t took place in advance! I bookmarked it.

  2. They know the merchandise by the reputation of the product. You may also want to look into third party payment processors and payment gateways. The next thing you need to do is to customize these t-shirts with your company logo.

  3. Good question. The first step twaord a Borderlands 2 Best Legit Possible’ Reference is, of course, to determine what’s possible. That’s where the Best Legitimate Weapon Found’ gun-mining project comes in. Many of the people behind the , including Skyline, will be returning for round two. I don’t have a time estimate yet, because now there are supposed to be more part combinations than before, but basically the more submissions the BLWF gets, the sooner we’ll know what’s what. Like BBG, the BL2 BLWF will be developed on the Gearbox forum and displayed in galleries on an external site. I’ll post the link when it’s up. Until then, the are where it’s at.

  4. Definitely believe that which you stated. Your favorite justification seemed to be on the web the simplest thing to be aware of. I say to you, I definitely get irked while people think about worries that they plainly don’t know about. You managed to hit the nail upon the top as well as defined out the whole thing without having side effect , people can take a signal. Will probably be back to get more. Thanks

  5. 161I’ve been browsing online more than three hours as of late, yet I never discovered any fascinating article like yours. It is pretty price sufficient for me. Personally, if all web owners and bloggers made excellent content material as you probably did, the net can be much more helpful than ever before.

Leave a Reply

Your email address will not be published. Required fields are marked *