mirror of https://github.com/grpc/grpc-java.git
Produce combined JavaDoc, add links, exclude internals
This commit is contained in:
parent
00a7192f73
commit
10fb20650d
|
@ -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])
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 = [
|
||||
|
|
|
@ -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/'
|
||||
|
|
|
@ -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/'
|
||||
|
|
|
@ -11,3 +11,5 @@ dependencies {
|
|||
animalsniffer {
|
||||
signature = "org.codehaus.mojo.signature:java16:+@signature"
|
||||
}
|
||||
|
||||
javadoc.options.links 'http://docs.guava-libraries.googlecode.com/git-history/release/javadoc/'
|
||||
|
|
Loading…
Reference in New Issue