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-server-api")
|
|
|
|
testImplementation project(":netty-http-client")
|
|
|
|
testImplementation project(":netty-http-bouncycastle")
|
|
|
|
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
|
|
|
}
|