Produce combined JavaDoc, add links, exclude internals

This commit is contained in:
Eric Anderson 2015-05-05 10:28:38 -07:00
parent 00a7192f73
commit 10fb20650d
5 changed files with 31 additions and 2 deletions

View File

@ -3,6 +3,13 @@ description = "gRPC: All"
// Make sure that no transitive dependencies are included.
configurations.compile.transitive = false
for (subproject in rootProject.subprojects) {
if (subproject == project) {
continue
}
evaluationDependsOn(subproject.path)
}
dependencies {
compile project(':grpc-auth'),
project(':grpc-core'),
@ -22,3 +29,15 @@ jar {
}
}
javadoc {
classpath = files(rootProject.subprojects.collect { subproject ->
subproject.javadoc.classpath
})
for (subproject in rootProject.subprojects) {
if (subproject == project) {
continue;
}
source subproject.javadoc.source
options.links subproject.javadoc.options.links.toArray(new String[0])
}
}

View File

@ -32,7 +32,10 @@ subprojects {
it.options.encoding = "UTF-8"
}
javadoc.options.encoding = "UTF-8"
javadoc.options {
encoding = 'UTF-8'
links 'https://docs.oracle.com/javase/8/docs/api/'
}
ext {
libraries = [

View File

@ -7,3 +7,5 @@ dependencies {
// Tests depend on base class defined by core module.
testCompile project(':grpc-core').sourceSets.test.output
}
javadoc.options.links 'https://netty.io/4.1/api/'

View File

@ -15,3 +15,6 @@ dependencies {
animalsniffer {
signature = "org.codehaus.mojo.signature:java16:+@signature"
}
javadoc.exclude 'com/squareup/**'
javadoc.options.links 'http://square.github.io/okhttp/javadoc/'

View File

@ -10,4 +10,6 @@ dependencies {
// Configure the animal sniffer plugin
animalsniffer {
signature = "org.codehaus.mojo.signature:java16:+@signature"
}
}
javadoc.options.links 'http://docs.guava-libraries.googlecode.com/git-history/release/javadoc/'