title: IntelliJ Idea: add global library dependency as sources
body: <p>I'm new to IntelliJ Idea and have question connected to module dependencies.
  Is it possible to add into module dependencies a global library but in the form of source files that I can edit and compile together with dependent module?</p>
  
  <p>The problem I'm trying to solve is as follows:</p>
  
  <ol>
  <li>I have universal library module A - under development.</li>
  <li>I have universal library module B - under development and dependent on A.</li>
  <li>I have application project dependent on both: A and B.</li>
  </ol>
  
  <p>I would like to develop those three components in convenient way in one IntelliJ Idea window, but I don't want to include libraries A and B directly as project modules because they are generic and will be used by other projects in the future.
  How to properly solve puzzle like this?</p>
  
  <p>The only idea I have is to use file system hack and add those libraries as modules but with directory links directing to  their original location. </p>