title: Generate war file without libs directory in gradle
body: <p>I have a gradle project and configured war plugin that is successfully generating the war file.</p>
  
  <p>I want my dependencies jar files not to be the part of .war file in directory [/WEB-INF/lib/].</p>
  
  <p>I will manually add all the dependencies in jboss's lib folder.</p>
  
  <pre><code>apply plugin: 'war'
  
  sourceSets  {
   main {
      java {
          srcDir 'src'
      }
   }
  }
  
  war.baseName = 'web'
  
  webAppDirName = 'WebContent'
  
  war {
   webXml = file('WebContent/WEB-INF/web.xml')
  }
  
  dependencies {
   compile fileTree('../ThirdPartyJars')
   compile project(':core')
  }
  </code></pre>
  
  <p>This is generating a .war file that already contains all the dependency.</p>
  
  <p>Is their any way to remove all these dependencies from war file in gradle. </p>