title: Gradle exclusion of transitive dependencies not working
body: <p>I have the following in a <code>subprojects</code> closure:</p>
  
  <pre><code>configurations {
      all*.exclude group: 'com.sun.jersey', module: 'jersey-bundle'
  }
  </code></pre>
  
  <p>But <code>gradlew dependencies</code> is still including <code>jersey-bundle</code>. What needs to be done to fix this?</p>