Adding Groovy extension modules to a Grails application

If you’re a Grails developer then once you’ve found a Groovy extension module you’ll want to include it into your Grails application. If the library is available through Maven or Grapes then it’s easy to include. If you only have the jar then you’ll probably have more difficulty.

I found this question on StackOverflow to have good information on the changes you’ll have to make to have the library included in your application.

There is also a Jira ticket for Grails to address the fact that you need to add this code to load such libraries.
Update: Fixed in Grails 2.4.4.

Leave a comment