Android Add javadoc to Gradle project -
my goal: add javadoc 3rd party library in android studio. (specifically parse)
my setup: i'm using android studio 0.5.2 , it's gradle setup. stuck jar library in /libs folder , updated gradle file. (ex - it's parse library compile filetree(dir: 'src/main/libs/parse-1.5.0', include: ['.jar'])* worked.)
what tried: given documentation list of html files. dropped them in project in libs folder , nothing worked. used jar cvf create javadoc in jar format , tried link *.jar.properties file. still nothing worked. know can javadocs working because android support libraries pulling respective javadocs.
here few links of interest:
you can find path-settings in [project > .idea > libraries]
if add 'parse-1.5.0' library, [project > .idea > libraries] directory have parse_1_5_0.xml file.
insert java-doc , source file app > libs edit parse_1_5_0.xml file.
<component name="librarytable"> <library name="parse-1.5.0"> <classes> <root url="jar://$project_dir$/app/libs/parse-1.5.0.jar!/" /> </classes> <javadoc> <root url="jar://$project_dir$/app/libs/parse-1.5.0-javadoc.jar!/" /> </javadoc> <sources> <root url="jar://$project_dir$/app/libs/parse-1.5.0-sources.jar!/" /> </sources> </library> </component>
Comments
Post a Comment