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-07-15 22:41:23 +02:00
|
|
|
compile project(":netty-http-common")
|
2019-09-23 10:02:20 +02:00
|
|
|
compile project(":netty-http-server-api")
|
2019-12-22 02:03:19 +01:00
|
|
|
// we are an Mac OS X 10.12, but tcnative > 2.0.26 is for 10.13+
|
|
|
|
if (Os.isFamily(Os.FAMILY_MAC)) {
|
|
|
|
runtime "io.netty:netty-tcnative-boringssl-static:${project.property('tcnative-legacy-macosx.version')}"
|
|
|
|
runtime project(':netty-http-kqueue')
|
|
|
|
} else {
|
|
|
|
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 project(":netty-http-client")
|
2019-12-22 02:03:19 +01:00
|
|
|
testRuntime project(":netty-http-bouncycastle")
|
2018-03-12 11:22:40 +01:00
|
|
|
}
|