mirror of https://github.com/grpc/grpc-java.git
Merge pull request #1003 from nmittler/interop_tcnative
Make tcnative available to the interop scripts.
This commit is contained in:
commit
e045fd6a5e
|
|
@ -31,6 +31,19 @@ test {
|
||||||
jvmArgs "-Xbootclasspath/p:" + configurations.alpnboot.asPath
|
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).
|
// 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.
|
// Note that OkHttp currently only supports ALPN, so OpenSSL version >= 1.0.2 is required.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue