From 001b5a45ccace780135068a0f96343f25138e8e4 Mon Sep 17 00:00:00 2001 From: Radek Kozak Date: Mon, 19 Jun 2017 16:28:16 +0200 Subject: [PATCH] Fixes androidJavadocs task (#1) Closes #1 Signed-off-by: Radek Kozak --- gradle-mvn-push.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/gradle-mvn-push.gradle b/gradle-mvn-push.gradle index f5f4129..154a6c5 100644 --- a/gradle-mvn-push.gradle +++ b/gradle-mvn-push.gradle @@ -95,6 +95,7 @@ afterEvaluate { project -> task androidJavadocs(type: Javadoc) { source = android.sourceSets.main.java.srcDirs classpath += project.files(android.getBootClasspath().join(File.pathSeparator)) + classpath += project.android.libraryVariants.toList().first().javaCompile.classpath } task androidJavadocsJar(type: Jar, dependsOn: androidJavadocs) {