title: Getting Gradle dependencies in IntelliJ IDEA using Gradle build
body: <p>Grade build, even from inside IntelliJ IDEA does not put the dependencies into the "External Libraries" folder, so these classes don't show up as suggestions in the editor and when I manually add them as an import there is a compile error.</p>
  
  <p>How can I get IntelliJ to automatically incorporate the dependencies in my <em>build.gradle</em> file, for instance: </p>
  
  <p><code>compile 'com.google.code.gson:gson:1.7.2</code></p>