mirror of https://github.com/grpc/grpc-java.git
rls: generate rls coverage (#7004)
This commit is contained in:
parent
0515b8bed3
commit
8e8477704a
|
@ -17,6 +17,7 @@ def subprojects = [
|
||||||
project(':grpc-okhttp'),
|
project(':grpc-okhttp'),
|
||||||
project(':grpc-protobuf'),
|
project(':grpc-protobuf'),
|
||||||
project(':grpc-protobuf-lite'),
|
project(':grpc-protobuf-lite'),
|
||||||
|
project(':grpc-rls'),
|
||||||
project(':grpc-services'),
|
project(':grpc-services'),
|
||||||
project(':grpc-stub'),
|
project(':grpc-stub'),
|
||||||
project(':grpc-testing'),
|
project(':grpc-testing'),
|
||||||
|
|
|
@ -2,6 +2,7 @@ plugins {
|
||||||
id "java"
|
id "java"
|
||||||
id "maven-publish"
|
id "maven-publish"
|
||||||
id "com.google.protobuf"
|
id "com.google.protobuf"
|
||||||
|
id "jacoco"
|
||||||
}
|
}
|
||||||
|
|
||||||
description = "gRPC: RouteLookupService Loadbalancing plugin"
|
description = "gRPC: RouteLookupService Loadbalancing plugin"
|
||||||
|
@ -19,6 +20,18 @@ dependencies {
|
||||||
project(':grpc-core').sourceSets.test.output // for FakeClock
|
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()
|
configureProtoCompilation()
|
||||||
|
|
||||||
// do not publish 'grpc-rls'
|
// do not publish 'grpc-rls'
|
||||||
|
|
Loading…
Reference in New Issue