title: Is there a "right way" to create skinny wars and an ear file in Gradle
body: <p>Using Gradle (and Java, obviously), I'd like to generate a skinny war (with no dependency jars in the war), and include all of the dependencies in the ear file.  I've done some digging, but I can't find any obvious "skinny war" tutorials for Gradle.</p>
  
  <p>In Maven 2.2.1 (yeah, we're stuck in 2.2.1, don't ask me why), this was accomplished by <a href="http://maven.apache.org/plugins/maven-war-plugin/examples/skinny-wars.html" rel="nofollow">creating a separate ear project and repeating all of my dependencies from my sub-projects in the ear</a>.</p>
  
  <p>I can imagine how I would duplicate this same hack in Gradle, but I'm hoping there's a smarter way to do this.  Does anyone have any ideas/examples/suggestions?</p>