title: Best Way To Tie Together Gradle Module and Grails Module
body: <p>We have a Project that contains 2 modules; web and client</p>
  
  <p>The web module is a Grails application and the client module is mostly just groovy code and touch of Java code.  The client module is being managed by a Gradle build script.</p>
  
  <p>The Grails module has dependencies in the client module.  In IntelliJ I can define that in the module config with no problems.  However, when building the Grails WAR I really need to build the client JAR and have it placed in the WAR file.  I'm wondering what is the best approach for this?</p>