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:

  1. *.jar.properties explained
  2. how attach sources or docs external libraries in eclipse
  3. how attach javadoc or sources jars in libs folder
  4. how import third party libraries in android studio

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

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -