diff --git a/all/build.gradle b/all/build.gradle index ffba5f508e..11ae5cbe22 100644 --- a/all/build.gradle +++ b/all/build.gradle @@ -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'), diff --git a/rls/build.gradle b/rls/build.gradle index e5ff9c4fdc..1faa66b0f7 100644 --- a/rls/build.gradle +++ b/rls/build.gradle @@ -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'