@@ -16,7 +16,7 @@ configurations {
1616evaluationDependsOn(project(' :grpc-context' ). path)
1717
1818dependencies {
19- compile project(' :grpc-alts' ),
19+ compile project(path : ' :grpc-alts' , configuration : ' shadow ' ),
2020 project(' :grpc-auth' ),
2121 project(' :grpc-census' ),
2222 project(' :grpc-core' ),
@@ -113,21 +113,13 @@ task grpclb_long_lived_affinity_test_client(type: CreateStartScripts) {
113113}
114114
115115task xds_test_client (type : CreateStartScripts ) {
116- // Use task dependsOn instead of depending on project(':grpc-xds') in configurations because
117- // grpc-xds is not published yet and we don't want grpc-interop-testin to depend on it in maven.
118- dependsOn ' :grpc-xds:shadowJar'
119- // Add all other dependencies that grpc-xds needs.
120- dependencies { compile project(' :grpc-services' ), libraries. netty_epoll }
121116 mainClassName = " io.grpc.testing.integration.XdsTestClient"
122117 applicationName = " xds-test-client"
123- outputDir = new File (project. buildDir, ' tmp' )
124- classpath = startScripts. classpath + fileTree(" ${ project(':grpc-xds').buildDir} /libs" )
125- doLast {
126- unixScript. text = unixScript. text. replace(
127- ' \$ APP_HOME/lib/grpc-xds' , " ${ project(':grpc-xds').buildDir} /libs/grpc-xds" )
128- windowsScript. text = windowsScript. text. replace(
129- ' %APP_HOME%\\ lib\\ grpc-xds' , " ${ project(':grpc-xds').buildDir} \\ libs\\ grpc-xds" )
118+ dependencies {
119+ runtime project(path : ' :grpc-xds' , configuration : ' shadow' )
130120 }
121+ outputDir = new File (project. buildDir, ' tmp' )
122+ classpath = startScripts. classpath
131123}
132124
133125task xds_test_server (type : CreateStartScripts ) {
0 commit comments