title: How to exclude all files under a directory in Gradle?
body: <pre><code>packagingOptions {
   exclude 'org/apache/commons/codec/language/bm/gen_approx_portuguese.txt'
  }
  </code></pre>
  
  <p>For example, this one will exclude 1 file. But how to exclude all file under a directory?</p>
  
  <p>like:
  org/apache/commons/codec/language/bm/<br>
  folder?
  <em>.</em> does not work :)</p>