mirror of https://github.com/grpc/grpc-java.git
services,grpclb: Filter internal files from javadoc/jacoco
This commit is contained in:
parent
fb8833c57b
commit
103c33e821
|
|
@ -30,3 +30,12 @@ configureProtoCompilation()
|
||||||
javadoc {
|
javadoc {
|
||||||
exclude 'io/grpc/grpclb/Internal*'
|
exclude 'io/grpc/grpclb/Internal*'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
jacocoTestReport {
|
||||||
|
classDirectories.from = sourceSets.main.output.collect {
|
||||||
|
fileTree(dir: it,
|
||||||
|
exclude: [
|
||||||
|
'**/io/grpc/lb/v1/**',
|
||||||
|
])
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -37,3 +37,20 @@ dependencies {
|
||||||
}
|
}
|
||||||
|
|
||||||
configureProtoCompilation()
|
configureProtoCompilation()
|
||||||
|
|
||||||
|
javadoc {
|
||||||
|
exclude 'io/grpc/services/Internal*.java'
|
||||||
|
exclude 'io/grpc/services/internal/*'
|
||||||
|
}
|
||||||
|
|
||||||
|
jacocoTestReport {
|
||||||
|
classDirectories.from = sourceSets.main.output.collect {
|
||||||
|
fileTree(dir: it,
|
||||||
|
exclude: [
|
||||||
|
'**/io/grpc/binarylog/v1/**',
|
||||||
|
'**/io/grpc/channelz/v1/**',
|
||||||
|
'**/io/grpc/health/v1/**',
|
||||||
|
'**/io/grpc/reflection/v1alpha/**',
|
||||||
|
])
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue