From 624a24ba1dc986565dd527a286692b74f9114f3c Mon Sep 17 00:00:00 2001 From: Belin Wu Date: Wed, 23 Jan 2019 10:14:57 +0800 Subject: [PATCH] Set .aar baseName to artifactId --- publish.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/publish.gradle b/publish.gradle index 4bc4772..01cfb91 100644 --- a/publish.gradle +++ b/publish.gradle @@ -1,7 +1,9 @@ apply plugin: 'com.github.dcendents.android-maven' +apply plugin: 'com.jfrog.bintray' group = pub.groupId version = pub.libraryVersion +archivesBaseName = pub.artifactId install { repositories.mavenInstaller { @@ -41,8 +43,6 @@ install { } } -apply plugin: 'com.jfrog.bintray' - task sourcesJar(type: Jar) { from android.sourceSets.main.java.srcDirs baseName = pub.libraryId