import org.apache.tools.ant.taskdefs.condition.Os dependencies { 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") }