svn commit: r1843896 - /ofbiz/ofbiz-framework/trunk/build.gradle

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1843896 - /ofbiz/ofbiz-framework/trunk/build.gradle

jleroux@apache.org
Author: jleroux
Date: Mon Oct 15 10:20:07 2018
New Revision: 1843896

URL: http://svn.apache.org/viewvc?rev=1843896&view=rev
Log:
Improved: Javadoc doesn't contains links to external documentation
(OFBIZ-10603)

While reading the OFBiz Javadoc, it is often necessary to look at OFBiz
dependencies documentation to properly understand it.  Currently this has to be
done manually.  It would be convenient to be able to click and on class
definition of a dependency to go to its documentation.  
This can be done via the -link option of javadoc command.

Thanks: Mathieu Lirzin

Modified:
    ofbiz/ofbiz-framework/trunk/build.gradle

Modified: ofbiz/ofbiz-framework/trunk/build.gradle
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/build.gradle?rev=1843896&r1=1843895&r2=1843896&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/build.gradle (original)
+++ ofbiz/ofbiz-framework/trunk/build.gradle Mon Oct 15 10:20:07 2018
@@ -56,6 +56,12 @@ javadoc.failOnError = true
 javadoc.options {
     encoding "UTF-8"
     charSet "UTF-8"
+    links(
+        "https://docs.oracle.com/javase/8/docs/api",
+        "https://docs.oracle.com/javaee/7/api",
+        "http://docs.groovy-lang.org/docs/groovy-2.4.13/html/api",
+        "https://commons.apache.org/proper/commons-cli/apidocs"
+    )
 }
 
 sourceCompatibility = '1.8'