Grails Dependency Management – Excluding dependencies

May 28, 2010 – 9:36 am

Sometimes you need finer control over the dependencies included in your build. In BuildConfig.groovy you can exclude dependent dependencies by using the ‘excludes’ keyword – for example:

dependencies {
        runtime (group:'org.apache.tika', name:'tika-parsers', version:'0.7'){
            excludes 'commons-compress'
        }
}

Sorry, comments for this entry are closed at this time.