2019-12-22 02:03:19 +01:00
|
|
|
import org.apache.tools.ant.taskdefs.condition.Os
|
2018-03-12 11:22:40 +01:00
|
|
|
|
|
|
|
dependencies {
|
2019-09-23 10:02:20 +02:00
|
|
|
compile project(":netty-http-client-api")
|
2019-08-07 18:50:42 +02:00
|
|
|
compile "io.netty:netty-handler-proxy:${project.property('netty.version')}"
|
2019-12-22 02:03:19 +01:00
|
|
|
runtime "org.bouncycastle:bcpkix-jdk15on:${project.property('bouncycastle.version')}"
|
|
|
|
if (Os.isFamily(Os.FAMILY_MAC)) {
|
|
|
|
runtime "io.netty:netty-tcnative-boringssl-static:${project.property('tcnative-legacy-macosx.version')}"
|
2020-01-13 14:16:44 +01:00
|
|
|
//runtime project(':netty-http-kqueue')
|
|
|
|
} else if (Os.isFamily(Os.FAMILY_UNIX)) {
|
2019-12-22 02:03:19 +01:00
|
|
|
runtime "io.netty:netty-tcnative-boringssl-static:${project.property('tcnative.version')}"
|
|
|
|
runtime project(':netty-http-epoll')
|
|
|
|
}
|
2019-08-07 18:50:42 +02:00
|
|
|
testCompile "org.conscrypt:conscrypt-openjdk-uber:${project.property('conscrypt.version')}"
|
|
|
|
testCompile "com.fasterxml.jackson.core:jackson-databind:${project.property('jackson.version')}"
|
2018-03-12 11:22:40 +01:00
|
|
|
}
|