interop-testing: fix bug of xds test missing transitive dependency

This fixes a bug introduced in #6675 .

grpc-interop-testing should have added all dependency e.g. enovy that grpc-xds needs.
This commit is contained in:
ZHANG Dapeng 2020-02-05 16:47:13 -08:00 committed by GitHub
parent cd35a8153c
commit 258fe12f02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -115,7 +115,9 @@ task grpclb_long_lived_affinity_test_client(type: CreateStartScripts) {
task xds_test_client(type: CreateStartScripts) {
// Use task dependsOn instead of depending on project(':grpc-xds') in configurations because
// grpc-xds is not published yet and we don't want grpc-interop-testin to depend on it in maven.
dependsOn ':grpc-xds:jar'
dependsOn ':grpc-xds:shadowJar'
// Add all other dependencies that grpc-xds needs.
dependencies { compile project(':grpc-services'), libraries.netty_epoll }
mainClassName = "io.grpc.testing.integration.XdsTestClient"
applicationName = "xds-test-client"
outputDir = new File(project.buildDir, 'tmp')