0

I'm using Gradle to coding and using default Generate document of sts to generate java doc. But document has trouble about library in function description.

enter image description here

- Currently, for all type it always display full lib: java.lang.String for String
- Expect, only display type and has reference to type: String for String

Vampire
  • 35,631
  • 4
  • 76
  • 102
Chi.che
  • 33
  • 1
  • 10

1 Answers1

0

If you use the standard JavaDoc doclet, the following whould help

javadoc.options.links 'https://docs.oracle.com/javase/8/docs/api/'
Vampire
  • 35,631
  • 4
  • 76
  • 102
  • I add that to build gradle and refresh dependencies after that generate document but error still occurs. – Chi.che Dec 14 '17 at 03:59
  • I don't use android gradle, so may be it not affect – Chi.che Dec 14 '17 at 04:02
  • What error occurs? You did not say anything about an error. What should this have to do with Android? – Vampire Dec 14 '17 at 08:05
  • My mean is the document. I still display String instead of java.lang.String. I fixed this cause. I download java api document, after that add api documentation path in "Select referenced archives and projects to which links should be generated" when genera document is ok – Chi.che Dec 15 '17 at 08:58