Skip to content

Commit 8e84777

Browse files
authored
rls: generate rls coverage (grpc#7004)
1 parent 0515b8b commit 8e84777

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

all/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ def subprojects = [
1717
project(':grpc-okhttp'),
1818
project(':grpc-protobuf'),
1919
project(':grpc-protobuf-lite'),
20+
project(':grpc-rls'),
2021
project(':grpc-services'),
2122
project(':grpc-stub'),
2223
project(':grpc-testing'),

rls/build.gradle

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ plugins {
22
id "java"
33
id "maven-publish"
44
id "com.google.protobuf"
5+
id "jacoco"
56
}
67

78
description = "gRPC: RouteLookupService Loadbalancing plugin"
@@ -19,6 +20,18 @@ dependencies {
1920
project(':grpc-core').sourceSets.test.output // for FakeClock
2021
}
2122

23+
javadoc {
24+
exclude 'io/grpc/rls/internal/**'
25+
// do not publish javadoc since it is not published yet
26+
exclude 'io/grpc/rls/**'
27+
}
28+
29+
jacocoTestReport {
30+
classDirectories.from = sourceSets.main.output.collect {
31+
fileTree(dir: it, exclude: ['**/io/grpc/lookup/**'])
32+
}
33+
}
34+
2235
configureProtoCompilation()
2336

2437
// do not publish 'grpc-rls'

0 commit comments

Comments
 (0)