netty-http/netty-http-client/build.gradle

15 lines
813 B
Groovy
Raw Normal View History

import org.apache.tools.ant.taskdefs.condition.Os
2018-03-12 11:22:40 +01:00
dependencies {
api project(":netty-http-client-api")
api "io.netty:netty-handler-proxy:${project.property('netty.version')}"
testImplementation "com.fasterxml.jackson.core:jackson-databind:${project.property('jackson.version')}"
testImplementation "org.conscrypt:conscrypt-openjdk-uber:${project.property('conscrypt.version')}"
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')}"
2020-01-13 14:16:44 +01:00
} else if (Os.isFamily(Os.FAMILY_UNIX)) {
testRuntimeOnly "io.netty:netty-tcnative-boringssl-static:${project.property('tcnative.version')}"
}
2018-03-12 11:22:40 +01:00
}