Try to take a look at:
https://grails.github.io/grails2-doc/2.3.2/guide/conf.html#configurationsAndDependencies
Especially the sub section "Disabling transitive dependency resolution".
I have been using newer version of Grails that uses Gradle, so I can't exactly remember the Gant way...