Skip to content

Instantly share code, notes, and snippets.

@msdx msdx/bintray.gradle
Created Nov 12, 2018

What would you like to do?
Android Gradle Javadoc Task
task javadoc(type: Javadoc, dependsOn: 'assembleRelease') {
source =
classpath += configurations.compile
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
android.libraryVariants.all { variant ->
if ( == 'release') {
owner.classpath += variant.javaCompile.classpath
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.