tags:

views:

18

answers:

0

Dear All:

Is there any way to leave out certain paths from a Gradle fat jar.

I am using:

jar {
    from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}

from

http://docs.codehaus.org/display/GRADLE/Cookbook

and would like to leave out META-INF directories if possible.

Thank you! Misha