title: How to exclude a file from the assets folder only for release buildType?
body: <p>How to exclude a file from the assets folder only for release buildType. Imagine the following scenario:</p>
  
  <p>I have a lot a json strings under the assets folder, with names like string_1.json, string_2.json, string_3.json</p>
  
  <p>With the following snippet I can remove all files.</p>
  
  <p>(gradle snippet)</p>
  
  <pre><code>aaptOptions {
      ignoreAssetsPattern "!*.json"
  }
  </code></pre>
  
  <p>The problem is I want to keep some and remove some of them. For example, I want to keep string_2.json</p>
  
  <p>Does the ignoreAssetsPattern has something for exclusions?</p>
  
  <p>(Also this snippet will remove both for debug and release. Any help will be appreciated)</p>