Skip to content

Commit

Permalink
Fixes androidJavadocs task (#1)
Browse files Browse the repository at this point in the history
Closes #1

Signed-off-by: Radek Kozak <[email protected]>
  • Loading branch information
radekkozak committed Jun 19, 2017
1 parent 97de897 commit 001b5a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gradle-mvn-push.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 001b5a4

Please sign in to comment.