jar supports the same syntax as Copy, you can do includes: <ant style
path> and excludes: <ant style path>

On Sun, Jun 20, 2010 at 16:34, Misha Koshelev <[email protected]> wrote:
> Dear All:
>
> Thank you for a great product!
>
> 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
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>



-- 
Jason Porter
http://lightguard-jp.blogspot.com
http://twitter.com/lightguardjp

Software Engineer
Open Source Advocate

PGP key id: 926CCFF5
PGP key available at: keyserver.net, pgp.mit.edu

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

    http://xircles.codehaus.org/manage_email


Reply via email to