title: Exclude module dependencies from jar file in gradle
body: <p>So i have included a local jar as a dependency using following command in gradle - <br>"compile files("${PathToJar}/name.jar") <br>
  Now i want to exclude some module from above jar just like we do with normal dependencies exclusion <br></p>
  
  <pre><code>compile('com.a.b:' + version) {
          exclude group: 'com.google.inject', module: 'guice_servlet'
          exclude group: 'com.google.inject', module: 'guice'
          exclude group: 'io.dropwizard'
          exclude group: 'org.slf4j'
          exclude group: 'log4j'
      }
  </code></pre>
  
  <p>I googled a lot but could not find a proper command.</p>