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

13 lines
638 B
Groovy

import org.apache.tools.ant.taskdefs.condition.Os
dependencies {
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')}"
if (Os.isFamily(Os.FAMILY_MAC)) {
testRuntimeOnly "io.netty:netty-tcnative-boringssl-static:${project.property('tcnative-legacy-macosx.version')}"
} else if (Os.isFamily(Os.FAMILY_UNIX)) {
testRuntimeOnly "io.netty:netty-tcnative-boringssl-static:${project.property('tcnative.version')}"
}
}