title: Where to configure grails.assets.excludes for Grails assets pipeline?
body: <p>Where should I configure grails.assets.excludes for Grails assets pipeline?</p>
  
  <p>According to <a href="http://bertramdev.github.io/asset-pipeline/guide/configuration.html" rel="nofollow">http://bertramdev.github.io/asset-pipeline/guide/configuration.html</a>, you can include or exclude files for Asset Pipeline.</p>
  
  <p>However, it doesn't specify where to add it. e.g. Do we put it in Config.groovy?</p>
  
  <p>I never seem to get it working with the code below:</p>
  
  <p><strong>index.gsp</strong>:</p>
  
  <pre><code>&lt;asset:stylesheet src="application.css" /&gt;
  </code></pre>
  
  <p><strong>application.css</strong>:</p>
  
  <pre><code>*= require_tree ../stylesheets
  </code></pre>
  
  <p><strong>testing.css</strong> (located under assets/stylesheets/testing.css):</p>
  
  <pre><code>body { background: green; }
  </code></pre>
  
  <p><strong>Config.groovy</strong> (I assume this is the place to add the config):</p>
  
  <pre><code>grails.assets.excludes = ["**/testing.css"]
  </code></pre>
  
  <p>Everything else works apart from one issue: It never excludes testing.css.</p>
  
  <p>Has anybody actually get it working? I have tried adding the config to BuildConfig.groovy and it doesn't work either.</p>
  
  <p>Versions in use:</p>
  
  <ul>
  <li>Grails 2.4.2</li>
  <li>compile ":asset-pipeline:1.8.11"</li>
  </ul>