title: How to exclude modules or groups in a jar from Gradle?
body: <p>I am trying to write a gradle script where i want to ignore or exclude certain modules or groups from a jar file.</p>
  
  <p>My Code :</p>
  
  <pre><code>dependencies {
  
      compile fileTree(dir: "$buildDir/native-libs", include: 'native-libs.jar')
      compile fileTree(dir: 'libs', include: ['*.jar'])     
      compile files('libs/test.jar')
  
    }
  </code></pre>
  
  <p>So , from test.jar file i want to exclude 'com.xyz.abc' , but i don't find how do i write the script.</p>
  
  <p>Please let me know , suggest me some good solution.</p>