Merge pull request #1003 from nmittler/interop_tcnative

Make tcnative available to the interop scripts.
This commit is contained in:
Nathan Mittler 2015-09-11 07:39:22 -07:00
commit e045fd6a5e
1 changed files with 13 additions and 0 deletions

View File

@ -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.