elx/elx-api/build.gradle

24 lines
1.4 KiB
Groovy
Raw Normal View History

dependencies {
compile "org.xbib:metrics-common:${project.property('xbib-metrics.version')}"
compile("org.elasticsearch:elasticsearch:${project.property('elasticsearch.version')}") {
2019-05-02 19:46:21 +02:00
// exclude original ES jackson yaml, cbor, smile version (2.6.2)
exclude group: 'com.fasterxml.jackson.dataformat'
2019-05-02 19:46:21 +02:00
// these dependencies that are not meant for client applications
exclude module: 'securesm'
// we use log4j2, not log4j
exclude group: 'log4j'
2020-01-19 22:20:00 +01:00
// we use our own guava
exclude group: 'com.google.guava'
}
// override log4j2 of Elastic with ours
compile "org.apache.logging.log4j:log4j-core:${project.property('log4j.version')}"
2019-05-02 19:46:21 +02:00
// override ES jackson with our jackson version
// for Elasticsearch session, ES uses SMILE when encoding source for SearchRequest
2019-05-02 19:46:21 +02:00
compile "com.fasterxml.jackson.dataformat:jackson-dataformat-smile:${project.property('jackson.version')}"
// CBOR ist default JSON content compression encoding in ES 2.2.1
2019-05-02 19:46:21 +02:00
compile "com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:${project.property('jackson.version')}"
// not used, but maybe in other projects
2019-05-02 19:46:21 +02:00
compile "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:${project.property('jackson.version')}"
// lift guava
2020-01-19 22:20:00 +01:00
compile "org.xbib:guava:${project.property('xbib-guava.version')}"
}