Fix pom files to contain all the information

Before this patch we were creating a new upload task
for creating maven repository which was not getting the
values from each project build.gradle. With this patch
we now use that task instead.

Bug: 62423455
Test: locally verified that the pom files now contain license tag
Change-Id: Ie22da868567327f5660a186f0a0c8b5d6368ee26
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..639cdd5
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+local.properties
diff --git a/build.gradle b/build.gradle
index 10fac34..b9af213 100644
--- a/build.gradle
+++ b/build.gradle
@@ -89,16 +89,7 @@
     version = rootProject.multidexVersion
     group = 'com.android.support'
 
-    task release(type: Upload) {
-        configuration = configurations.archives
-        repositories {
-            mavenDeployer {
-                repository(url: uri("$rootProject.supportRepoOut"))
-            }
-        }
-    }
-
-    dist.dependsOn release
+    dist.dependsOn project.tasks.uploadArchives
 
     project.plugins.whenPluginAdded { plugin ->
         if ("com.android.build.gradle.LibraryPlugin".equals(plugin.class.name)) {