elx/elx-http/build.gradle

15 lines
860 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-21 23:51:40 +02:00
api project(':elx-common')
implementation "org.xbib.elasticsearch:transport-netty4:${rootProject.property('elasticsearch-server.version')}"
implementation "org.xbib:netty-http-client:${project.property('xbib-netty-http.version')}"
testRuntimeOnly "org.bouncycastle:bcpkix-jdk15on:${project.property('bouncycastle.version')}"
2020-04-06 11:16:33 +02:00
if (Os.isFamily(Os.FAMILY_MAC)) {
2020-05-21 23:51:40 +02:00
testRuntimeOnly "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-21 23:51:40 +02:00
testRuntimeOnly "io.netty:netty-tcnative-boringssl-static:${project.property('tcnative.version')}"
2020-04-06 11:16:33 +02:00
}
2020-05-21 23:51:40 +02:00
testImplementation "org.xbib.elasticsearch:elasticsearch-analysis-common:${rootProject.property('elasticsearch-server.version')}"
}