how to include the AIDL build output to the Javadoc task in Gradle?

174 views
Skip to first unread message

Simon Weng

unread,
Jul 16, 2014, 11:08:56 AM7/16/14
to adt...@googlegroups.com
I have a javadoc task defined as following:

    task androidJavadocs(type: Javadoc) {
        source = android.sourceSets.main.java.srcDirs
        classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
    }

But, this doesn't include the source code generated by AIDL compiler under "build/generated/source/aidl/debug".

Is there any sourceSet definition representing this group of generated source? What is the most elegant way to include it in the Javadoc task?
Reply all
Reply to author
Forward
0 new messages