title: Intellij IDEA 12 doesn't recognize Playframework 2.1 (java) dependencies set in Build.scala
body: <p>I have the following dependencies added to my Build.scala and they work perfectly (no compilation errors), but Intellij IDEA 12 doesn't recognize them. It shows them red highlighted.</p>
  
  <pre><code>"com.google.inject" % "guice" % "3.0",
  "com.typesafe" %% "play-plugins-mailer" % "2.1-RC2"
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/ul3Pe.png" alt="enter image description here"></p>
  
  <p>It is quite annoying as you can see :)</p>
  
  <p>Is it possible to fix it? In google guice case, I put its jars into /lib folder (so I have the library twice, one in /lib and the other in /target folder) and then IDEA doesn't show errors for it, but I don't like this workaround and can't do the same for the Mailer plugin.</p>
  
  <p>Thanks for your help.</p>