From a0f0790cc7a5127f5eb7b6a144b6ea19ceedb931 Mon Sep 17 00:00:00 2001 From: nmittler Date: Thu, 10 Sep 2015 16:13:32 -0700 Subject: [PATCH] Make tcnative available to the interop scripts. --- interop-testing/build.gradle | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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.