We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55379d1 commit a2a42e3Copy full SHA for a2a42e3
1 file changed
interop-testing/build.gradle
@@ -29,8 +29,16 @@ test {
29
task test_client(type: CreateStartScripts) {
30
mainClassName = "io.grpc.testing.integration.TestServiceClient"
31
applicationName = "test-client"
32
+ defaultJvmOpts = ["-javaagent:JAVAAGENT_APP_HOME" + configurations.alpnagent.singleFile.name]
33
outputDir = new File(project.buildDir, 'tmp')
34
classpath = jar.outputs.files + configurations.runtime
35
+ dependencies {
36
+ runtime configurations.alpnagent
37
+ }
38
+ doLast {
39
+ unixScript.text = unixScript.text.replace('JAVAAGENT_APP_HOME', '\$APP_HOME/lib/')
40
+ windowsScript.text = windowsScript.text.replace('JAVAAGENT_APP_HOME', '%APP_HOME%\\lib\\')
41
42
}
43
44
task test_server(type: CreateStartScripts) {
0 commit comments