title: Custom artifact generation on Intellij Idea 13 and Gradle
body: <p>I'm using the Intellij Idea 13 Gradle plugin and I'd like to modify the default artifact creation.</p>
  
  <p>The problem I face is that my war modules have dependencies on 3rd party libraries that I don't want to include in the war itself, however I would like to include them in the Intellij artifact so they are deployed to my local server for testing.</p>
  
  <p>At the moment I'm getting errors of the type <code>Artifact ... library required for module is missing from the artifact</code>.</p>
  
  <p>What would be the best way to tell Intellij to add those libraries?</p>
  
  <p>Thanks</p>