Skip to content

Commit

Permalink
Fixed Javadoc gradle syntax for library with own dependencies [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
smarek committed Sep 12, 2015
1 parent 15f9556 commit a5399d8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
}

0 comments on commit a5399d8

Please sign in to comment.