title: Android Studio missing external dependencies
body: <p>I have a library project. I want to use Android's new build system. Currently I'm encountering a quite annoying scenario. </p>
  
  <p>I have my dependencies defined on <code>gradle.build</code> but they never appear under External Libraries in Android Studio. Hence all the references to those libraries are marked as errors.</p>
  
  <p>When I run <code>gradle dependencies</code> on the command line it shows the full dependencies tree and compiles successfully. The problem clearly is with Android Studio.</p>
  
  <p>I tried to restart the IDE/OS but nothing. </p>
  
  <p>This is my gradle.build</p>
  
  <pre><code>buildscript {
      repositories {
          mavenCentral()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:0.4.1'
      }
  }
  
  apply plugin: 'android-library'
  
  apply plugin: 'idea'
  
  repositories {
      mavenCentral()
  }
  
  dependencies {
      compile 'junit:junit:4.11'
      compile 'org.robolectric:robolectric:2.1:jar-with-dependencies'
  
      compile 'com.google.android:android:4.1.1.4'
      compile 'com.google.android:support-v4:r7'
  
      compile 'info.cukes:cucumber-java:1.1.3'
      compile 'info.cukes:cucumber-junit:1.1.3'
  }
  
  android {
      compileSdkVersion 17
      buildToolsVersion "17.0.0"
  
      defaultConfig {
          versionCode 1
          versionName "0.3-SNAPSHOT"
          minSdkVersion 15
          targetSdkVersion 17
      }
  }
  </code></pre>
  
  <p><strong>UPDATE</strong></p>
  
  <p>This issue seems to be fixed on latest Android Studio version (0.2.5)</p>