From a77adc018bbb949733455594d53603226856d164 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Tue, 17 Jun 2014 12:08:36 +0200 Subject: [PATCH] Enable linkSource, use and JavaSE javadoc for javadocAll --- build.gradle | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.gradle b/build.gradle index b9b82cdec..302b00228 100644 --- a/build.gradle +++ b/build.gradle @@ -66,6 +66,9 @@ task javadocAll(type: Javadoc) { // Might need a classpath classpath = files(subprojects.collect {project -> project.sourceSets.main.compileClasspath}) + options.linkSource = true + options.use = true + options.links = ["http://docs.oracle.com/javase/$sourceCompatibility/docs/api/"] as String[] } import org.apache.tools.ant.filters.ReplaceTokens