Excluding a Grails build scope dependency -



Excluding a Grails build scope dependency -

using grails 2.4.3, how can exclude dependency that's defined in build scope?

examplegrails bundled library spock-core-0.7-groovy-2.0.jar; when adding standard global dependency exclusion:

... grails.project.dependency.resolution = { // inherit grails' default dependencies inherits('global') { excludes 'spock-core' } ...

spock excluded dependency scopes except build scope.

is issue don't want in .war file? if can remove so:

grails.war.resources = { stagingdir -> delete(file:"${stagingdir}/web-inf/lib/spock-core-0.7-groovy-2.0.jar") }

grails build dependencies

Comments

Popular posts from this blog

java Multi query from Mysql using netbeans -

c# - DotNetZip fails with "stream does not support seek operations" -

c++ - StartServiceCtrlDispatcher don't can access 1063 error -