diff --git a/library/build.gradle b/library/build.gradle index b1c33c2fe..21655aa95 100755 --- a/library/build.gradle +++ b/library/build.gradle @@ -36,3 +36,11 @@ android.libraryVariants.all { variant -> } apply from: '../maven_push.gradle' + +afterEvaluate { project -> + android.libraryVariants.all { variant -> + tasks.androidJavadocs.doFirst { + classpath += files(variant.javaCompile.classpath.files) + } + } +}