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) {