From f0a4d700065e39efb0a31a003f99fb49b6951042 Mon Sep 17 00:00:00 2001 From: Florent Vilmart Date: Tue, 29 May 2018 09:32:08 -0400 Subject: [PATCH] publish fcm / gcm on their subpath --- gradle/gradle-mvn-push.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gradle/gradle-mvn-push.gradle b/gradle/gradle-mvn-push.gradle index b30050352..ae82901c0 100644 --- a/gradle/gradle-mvn-push.gradle +++ b/gradle/gradle-mvn-push.gradle @@ -5,7 +5,8 @@ android.libraryVariants.all { variant -> def javadoc = task("javadoc${variant.name.capitalize()}", type: Javadoc) { description "Generates Javadoc for $variant.name." - destinationDir = rootProject.file("docs/api") + def path = ("$project.name" == "Parse") ? "" : "$project.name" + destinationDir = rootProject.file("docs/api/$path") source = variant.javaCompiler.source ext.androidJar = "${android.sdkDirectory}/platforms/${android.compileSdkVersion}/android.jar" doFirst {