title: Include dependency from Maven local repository on Android Studio Gradle
body: <p>I think I'm stupid or I'm missing something -hope the latter- but I can't properly import a dependency.</p>
  
  <p>I have the repository in ~/.m2/repository and inside the directory I can see the deploy.</p>
  
  <p>The maven setting.xml has the </p>
  
  <pre><code>&lt;localRepository&gt;${user.home}/.m2/repository&lt;/localRepository&gt;
  </code></pre>
  
  <p>Here is the gradle file:</p>
  
  <pre><code>dependencies {
  compile fileTree(dir: 'libs', include: ['*.jar'])
  compile project(':lib_facebook')
  compile project(':lib_dslrdashboard')
  apt "org.androidannotations:androidannotations:3.2"
  compile 'org.androidannotations:androidannotations-api:3.2'
  compile 'de.livereach:rpc-objects-android:1.0.0'//THIS IS THE LOCAL DEPENDENCY
  compile 'com.android.support:appcompat-v7:22.0.0'
  compile 'org.slf4j:slf4j-android:1.6.1-RC1'
  compile 'org.springframework.android:spring-android-rest-template:1.0.1.RELEASE'
  compile 'com.fasterxml.jackson.core:jackson-databind:2.3.2'
  compile 'de.keyboardsurfer.android.widget:crouton:1.8.5@aar'
  compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.3'
  compile 'com.github.castorflex.smoothprogressbar:library:1.1.0'
  compile('com.crashlytics.sdk.android:crashlytics:2.2.3@aar') {
      transitive = true;
  }
  compile('com.twitter.sdk.android:twitter:1.4.0@aar') {
      transitive = true;
  }
  </code></pre>
  
  <p>}</p>
  
  <p>I'm on Mac OSx 10.10</p>
  
  <p>Thanks in advance!</p>