title: "javax.inject.Inject" is not recognized
body: <p>I have a simple Gradle project.
  I have the following in my build.gradle:</p>
  
  <pre><code>compile('javax.inject:javax.inject:1')
  </code></pre>
  
  <p>And I can see the jar in gradle cache. But in both Eclipse and IDEA I get following message</p>
  
  <pre><code>Error:(8, 20) java: package javax.inject does not exist
  </code></pre>
  
  <p>The really odd thing is that :build is successful, but there is an IDE message and an error when trying to "run".</p>
  
  <p>I tried creating a Maven project and there I can import "@Inject" just fine.</p>