Grails Cookbook - A collection of tutorials and examples

Add MySQL driver jar to a Grails Project using BuildConfig

In the old days, the common way of adding external libraries to a Grails project is by adding the JAR files in the lib folder of your application. This method is easy and simple. But the more modern and recommended way is to utilize BuildConfig.