update jackson to 2.11.0, log4j to 2.13.3

This commit is contained in:
Jörg Prante 2020-06-04 20:22:51 +02:00
parent 188708d0ed
commit 377040cf93
3 changed files with 22 additions and 6 deletions

View file

@ -1,4 +1,9 @@
dependencies { dependencies {
api "org.xbib:metrics-common:${project.property('xbib-metrics.version')}" api "org.xbib:metrics-common:${project.property('xbib-metrics.version')}"
api "org.elasticsearch:elasticsearch:${rootProject.property('elasticsearch.version')}" api "org.elasticsearch:elasticsearch:${project.property('elasticsearch.version')}"
api "com.fasterxml.jackson.core:jackson-core:${project.property('jackson.version')}"
api "com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:${project.property('jackson.version')}"
api "com.fasterxml.jackson.dataformat:jackson-dataformat-smile:${project.property('jackson.version')}"
api "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:${project.property('jackson.version')}"
api "org.apache.logging.log4j:log4j-api:${project.property('log4j.version')}"
} }

View file

@ -1,13 +1,15 @@
group = org.xbib group = org.xbib
name = elx name = elx
version = 7.6.1.1 version = 7.6.1.2
gradle.wrapper.version = 6.4.1 gradle.wrapper.version = 6.4.1
elasticsearch.version = 7.6.1 xbib-metrics.version = 2.1.0
netty.version = 4.1.49.Final
xbib-netty-http.version = 4.1.49.1 xbib-netty-http.version = 4.1.49.1
elasticsearch.version = 7.6.1
# ES 7.6.1 uses Jackson 2.8.11
jackson.version = 2.11.0
netty.version = 4.1.49.Final
tcnative.version = 2.0.29.Final tcnative.version = 2.0.29.Final
tcnative-legacy-macosx.version = 2.0.26.Final tcnative-legacy-macosx.version = 2.0.26.Final
bouncycastle.version = 1.64 bouncycastle.version = 1.64
xbib-metrics.version = 2.1.0
log4j.version = 2.13.1 log4j.version = 2.13.1

View file

@ -32,4 +32,13 @@ task javadocJar(type: Jar, dependsOn: javadoc) {
artifacts { artifacts {
archives sourcesJar, javadocJar archives sourcesJar, javadocJar
} }
tasks.withType(JavaCompile) {
// TransportClient is deprecated
options.compilerArgs << '-Xlint:all,-deprecation'
}
javadoc {
options.addStringOption('Xdoclint:none', '-quiet')
}