services,grpclb: Filter internal files from javadoc/jacoco

This commit is contained in:
Eric Anderson 2020-03-31 17:33:25 -07:00 committed by Eric Anderson
parent fb8833c57b
commit 103c33e821
2 changed files with 26 additions and 0 deletions

View File

@ -30,3 +30,12 @@ configureProtoCompilation()
javadoc {
exclude 'io/grpc/grpclb/Internal*'
}
jacocoTestReport {
classDirectories.from = sourceSets.main.output.collect {
fileTree(dir: it,
exclude: [
'**/io/grpc/lb/v1/**',
])
}
}

View File

@ -37,3 +37,20 @@ dependencies {
}
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/**',
])
}
}