netty-http/netty-http-server/build.gradle

17 lines
683 B
Groovy
Raw Permalink Normal View History

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")
compile project(":netty-http-server-api")
// 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')
}
testCompile project(":netty-http-client")
testRuntime project(":netty-http-bouncycastle")
2018-03-12 11:22:40 +01:00
}