summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurimas Liutikas <aurimas@google.com>2017-06-07 15:31:04 -0700
committerAurimas Liutikas <aurimas@google.com>2017-06-07 15:31:04 -0700
commita5272c3d40c2b81c266454b600d4d763b2adc009 (patch)
tree4dbdcb2056813b682c92225774276272c3512d58
parentc8047b2b80df3fa5c7c6be94dc3272ea590a5ef4 (diff)
downloadmultidex-a5272c3d40c2b81c266454b600d4d763b2adc009.tar.gz
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
-rw-r--r--.gitignore1
-rw-r--r--build.gradle11
2 files changed, 2 insertions, 10 deletions
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)) {