Skip to content

Instantly share code, notes, and snippets.

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

Embed
What would you like to do?
Android Gradle Javadoc Task
task javadoc(type: Javadoc, dependsOn: 'assembleRelease') {
source = android.sourceSets.main.java.srcDirs
classpath += configurations.compile
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
android.libraryVariants.all { variant ->
if (variant.name == '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.