title: Intelij: Cannot import classes from other modules in my project?
body: <p>My Application consists of multiple <code>Java</code> modules, built with <code>Gradle</code>. </p>
  
  <p>I have created a new module within it and I cannot import any classes from the <em>other modules</em>. I am quite new to Gradle/Java so perhaps Im missing something very obvious.</p>
  
  <p>When I attempt to import a class I get the following error:</p>
  
  <pre><code>"Cannot resolve symbol [import class name]"
  </code></pre>
  
  <p>What can I do to resolve this? Do I need to alter my <code>build.gradle</code> scripts? Could it be my <code>package structure</code>?</p>
  
  <p>Note: I <em>am</em> able to import standard java libraries, such as </p>
  
  <pre><code>java.util.HashMap
  </code></pre>
  
  <p>My Build.gradle is just the following:</p>
  
  <pre><code>apply plugin: 'java'
  apply plugin: 'idea'
  apply plugin: 'application'
  </code></pre>