From a5272c3d40c2b81c266454b600d4d763b2adc009 Mon Sep 17 00:00:00 2001 From: Aurimas Liutikas Date: Wed, 7 Jun 2017 15:31:04 -0700 Subject: 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 --- .gitignore | 1 + build.gradle | 11 +---------- 2 files changed, 2 insertions(+), 10 deletions(-) create mode 100644 .gitignore 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 @@ subprojects { 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)) { -- cgit v1.2.3