title: Support libraries don't work with aar
body: <p>I'm facing a problem in my library project. I have added in <code>build.gradle</code> of the lib the support dependencies and I have used them in my code. When I build the <code>.aar</code> file to use on <code>Maven</code>, the support dependencies are "ignored", they aren't seen by the project in which I use the lib.</p>
  
  <p>Here is the warning I receive in the <code>gradle</code> of the lib: </p>
  
  <p><code>Dependency on a support library, but the SDK installation does not have the "Extras &gt; Android Support Repository" installed. Open the SDK manager and install it.</code></p>
  
  <p>Obviously i have the last version of the support repositories installed.</p>
  
  <p><img src="https://i.stack.imgur.com/04bVr.png" alt="enter image description here"></p>
  
  <p>Here is the gradle of the lib:</p>
  
  <pre><code>apply plugin: 'com.android.library'
  
  android {
      compileSdkVersion 22
      buildToolsVersion "22.0.1"
  
      defaultConfig {
          minSdkVersion 16
          targetSdkVersion 22
          versionCode 1
          versionName "1.0"
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  
      lintOptions {
          abortOnError false
      }
  }
  
  dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      compile 'com.android.support:appcompat-v7:22.2.0'
      compile 'com.android.support:recyclerview-v7:22.2.0'
      compile 'com.android.support:support-v4:22.2.0'
      compile 'com.android.support:design:22.2.0'
   }
  }
  </code></pre>
  
  <p>In my project in which I add the lib as dependency, for example in styles.xml, I can't see AppCompat themes.</p>
  
  <p>And here is the gradle of the app:</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 22
      buildToolsVersion "22.0.1"
  
      defaultConfig {
          applicationId "giorgioantonioli.fondesa.spesapp"
          minSdkVersion 16
          targetSdkVersion 22
          versionCode 1
          versionName "1.0"
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  }
  
  dependencies {
      compile fileTree(include: ['*.jar'], dir: 'libs')
      compile ('com.fondesa:antoniolimaterial:1.0.0@aar'){ //lib
          transitive = true;
      }
  }
  </code></pre>