elx/elx-http/build.gradle

14 lines
694 B
Groovy
Raw Normal View History

2020-04-06 11:16:33 +02:00
import org.apache.tools.ant.taskdefs.condition.Os
dependencies{
2020-05-25 18:43:49 +02:00
api project(':elx-common')
api "org.elasticsearch.plugin:transport-netty4-client:${rootProject.property('elasticsearch.version')}"
api "org.xbib:netty-http-client:${project.property('xbib-netty-http.version')}"
runtimeOnly "org.bouncycastle:bcpkix-jdk15on:${project.property('bouncycastle.version')}"
2020-04-06 11:16:33 +02:00
if (Os.isFamily(Os.FAMILY_MAC)) {
2020-05-25 18:43:49 +02:00
runtimeOnly "io.netty:netty-tcnative-boringssl-static:${project.property('tcnative-legacy-macosx.version')}"
2020-04-06 11:16:33 +02:00
} else if (Os.isFamily(Os.FAMILY_UNIX)) {
2020-05-25 18:43:49 +02:00
runtimeOnly "io.netty:netty-tcnative-boringssl-static:${project.property('tcnative.version')}"
2020-04-06 11:16:33 +02:00
}
}