diff --git a/interop-testing/build.gradle b/interop-testing/build.gradle index a6b197b1d5..fdc524ac12 100644 --- a/interop-testing/build.gradle +++ b/interop-testing/build.gradle @@ -31,6 +31,19 @@ test { jvmArgs "-Xbootclasspath/p:" + configurations.alpnboot.asPath } +// The application plugin uses the distribution plugin and configures the jars to be +// placed into the "lib" folder. Since we don't include netty_tcnative as a dependency, +// we have to manually copy it into the lib folder so that it's available to the scripts. +distributions { + main { + contents { + from(configurations.tcnative) { + into "lib" + } + } + } +} + // For the generated scripts, use Netty tcnative (i.e. OpenSSL). // Note that OkHttp currently only supports ALPN, so OpenSSL version >= 1.0.2 is required.