title: Gradle Maven plugin "install" task does not work with Android library project
body: <p>I want to install android library project to local maven repository.
  Here is <em>build.gradle</em>:</p>
  
  <pre><code>buildscript {
      repositories {
          mavenCentral()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:0.5.+'
      }
  }
  apply plugin: 'android-library'
  apply plugin: 'maven'
  
  version = "1.0.0-SNAPSHOT"
  group = "com.example"
  
  repositories {
      mavenCentral()
  }
  
  android {
      compileSdkVersion 18
      buildToolsVersion "17.0.0"
  
      defaultConfig {
          minSdkVersion 9
          targetSdkVersion 18
      }
  }
  </code></pre>
  
  <p>When I run:</p>
  
  <pre><code>gradle install -i
  </code></pre>
  
  <p>it gets stuck here:</p>
  
  <pre><code>Executing task ':project:installTest' due to:
    Task has not declared any outputs.
  Starting process 'command 'd:\android-sdk-windows\platform-tools\adb.exe''. Working directory: D:\Projects\java\....... Command: d:\android-sdk-windows\platform-tools\adb.exe install -r D:\Projects\java\.......\build\apk\project.apk
  An attempt to initialize for well behaving parent process finished.
  Successfully started process 'command 'd:\android-sdk-windows\platform-tools\adb.exe''
  &gt; Building &gt; :project:installTest
  </code></pre>
  
  <p>So first thing I noticed is that it's trying for some odd reason to deploy it on a device as APK.</p>
  
  <p>Am I doing something wrong or is it just android-library plugin not compatible with maven plugin?</p>