xds: fix build.gradle for shadowing googleapis (#7121)

This commit is contained in:
cindyxue 2020-06-12 17:10:13 -07:00 committed by GitHub
parent 4077414e23
commit 40b815058f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -89,7 +89,7 @@ shadowJar {
dependencies {
include(project(':grpc-xds'))
}
relocate 'com.github.googleapis', 'io.grpc.xds.shaded.com.github.googleapis'
relocate 'com.google.api.expr', 'io.grpc.xds.shaded.com.google.api.expr'
relocate 'com.github.udpa', 'io.grpc.xds.shaded.com.github.udpa'
relocate 'io.envoyproxy', 'io.grpc.xds.shaded.io.envoyproxy'
relocate 'io.grpc.netty', 'io.grpc.netty.shaded.io.grpc.netty'
@ -101,6 +101,7 @@ jacocoTestReport {
classDirectories.from = sourceSets.main.output.collect {
fileTree(dir: it,
exclude: [
'**/com/google/api/**',
'**/com/github/**',
'**/envoy/annotations/**',
'**/io/envoyproxy/**',