title: IntelliJ IDEA with multiple gradle subprojects
body: <p>I'm working on multiple Gradle projects with internal and external dependencies, and so far I am happy that thanks to Gradle's dependency management I can modify a library project without affecting every application that uses the library.</p>
  
  <p>When I need to modify a library project and test it using an application project that uses it, I need to do the following,</p>
  
  <ul>
  <li>Modify the library project and commit to SCM</li>
  <li>Trigger CI to build the library project and push it to my Gradle repository</li>
  <li>Update the application project's <code>build.properties</code> to refer to the new version of library project</li>
  <li>Iterate the above steps until everything works and there is no bug</li>
  </ul>
  
  <p>So it became quite combersome now. Can I configure IntelliJ IDEA so that</p>
  
  <ul>
  <li>All my Gradle projects are in one window, like the screenshot below, which is Twitter's Finagle imported using its <code>pom.xml</code>. Sadly IntelliJ's JetGradle plugin doesn't seem to understand Gradle subprojects.</li>
  </ul>
  
  <p><img src="https://i.stack.imgur.com/t4cWT.png" alt="Finagle subprojects"></p>
  
  <ul>
  <li>When <code>build.properties</code>'s dependencies are my subprojects, read dependency from local snapshot, otherwise download them from the Gradle repository</li>
  </ul>
  
  <p>Thanks.</p>