gradle: Exclude all - except one file
<p>In a gradle build I would like to exclude all files except one. I tried to do it like this:</p>

<pre><code>processResources {

    // exclude everything
    exclude '*.*'

    // except this file
    include 'fileA.xml'
}
</code></pre>

<p>..but it does not seem to work - all files are excluded. Is this possible in some way?</p>

<p>Thanks for your help and input.</p>