Hi Jaco,

On Oct 3, 2008, at 9:53 PM, jaco.uys wrote:


Hi Hans,

The only way that I currently found to do this require some changes to the gradle src. I have attached the patch. Will you please have a look and see
if this is the correct approach.

This changed allowed me to do the following:

archive_war {
   libExcludeConfigurations('runtime')
project.dependencies.resolve('runtime', Filter.PROJECTS_ONLY).each {
       File f = it
       additionalLibs([dir: f.getParentFile().getPath()]) {
           include(f.getName())
       }
   }
}

What is the use case behind this? Is this to exclude the dependencies of the project dependency?

- Hans

--
Hans Dockter
Gradle Project lead
http://www.gradle.org





---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to