rls: generate rls coverage (#7004)

This commit is contained in:
Jihun Cho 2020-05-05 10:11:33 -07:00 committed by GitHub
parent 0515b8bed3
commit 8e8477704a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 0 deletions

View File

@ -17,6 +17,7 @@ def subprojects = [
project(':grpc-okhttp'),
project(':grpc-protobuf'),
project(':grpc-protobuf-lite'),
project(':grpc-rls'),
project(':grpc-services'),
project(':grpc-stub'),
project(':grpc-testing'),

View File

@ -2,6 +2,7 @@ plugins {
id "java"
id "maven-publish"
id "com.google.protobuf"
id "jacoco"
}
description = "gRPC: RouteLookupService Loadbalancing plugin"
@ -19,6 +20,18 @@ dependencies {
project(':grpc-core').sourceSets.test.output // for FakeClock
}
javadoc {
exclude 'io/grpc/rls/internal/**'
// do not publish javadoc since it is not published yet
exclude 'io/grpc/rls/**'
}
jacocoTestReport {
classDirectories.from = sourceSets.main.output.collect {
fileTree(dir: it, exclude: ['**/io/grpc/lookup/**'])
}
}
configureProtoCompilation()
// do not publish 'grpc-rls'