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 {
|
2020-05-20 14:56:37 +02:00
|
|
|
api project(":netty-http-client-api")
|
|
|
|
implementation "io.netty:netty-handler-proxy:${project.property('netty.version')}"
|
|
|
|
testImplementation "com.fasterxml.jackson.core:jackson-databind:${project.property('jackson.version')}"
|
|
|
|
testImplementation "org.conscrypt:conscrypt-openjdk-uber:${project.property('conscrypt.version')}"
|
|
|
|
testRuntimeOnly "org.bouncycastle:bcpkix-jdk15on:${project.property('bouncycastle.version')}"
|
2019-12-22 02:03:19 +01:00
|
|
|
if (Os.isFamily(Os.FAMILY_MAC)) {
|
2020-05-20 14:56:37 +02:00
|
|
|
testRuntimeOnly "io.netty:netty-tcnative-boringssl-static:${project.property('tcnative-legacy-macosx.version')}"
|
2020-01-13 14:16:44 +01:00
|
|
|
} else if (Os.isFamily(Os.FAMILY_UNIX)) {
|
2020-05-20 14:56:37 +02:00
|
|
|
testRuntimeOnly "io.netty:netty-tcnative-boringssl-static:${project.property('tcnative.version')}"
|
2019-12-22 02:03:19 +01:00
|
|
|
}
|
2018-03-12 11:22:40 +01:00
|
|
|
}
|