Move icu4j and super-csv version numbers to versions file (#32769)

The upcoming ML log structure finder functionality will use these
libraries, and it makes sense to use the same versions that are
being used elsewhere in Elasticsearch.  This is especially true
with icu4j, which is pretty big.
This commit is contained in:
David Roberts 2018-08-10 12:19:06 +01:00 committed by GitHub
parent 9561a0a66e
commit ae0c303dad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View File

@ -6,6 +6,8 @@ spatial4j = 0.7
jts = 1.15.0
jackson = 2.8.11
snakeyaml = 1.17
icu4j = 62.1
supercsv = 2.4.0
# when updating log4j, please update also docs/java-api/index.asciidoc
log4j = 2.11.1
slf4j = 1.6.2

View File

@ -30,9 +30,9 @@ forbiddenApis {
dependencies {
compile "org.apache.lucene:lucene-analyzers-icu:${versions.lucene}"
compile 'com.ibm.icu:icu4j:62.1'
compile "com.ibm.icu:icu4j:${versions.icu4j}"
}
dependencyLicenses {
mapping from: /lucene-.*/, to: 'lucene'
}
}

View File

@ -47,7 +47,7 @@ dependencies {
// ml deps
compile project(':libs:grok')
compile 'net.sf.supercsv:super-csv:2.4.0'
compile "net.sf.supercsv:super-csv:${versions.supercsv}"
nativeBundle "org.elasticsearch.ml:ml-cpp:${project.version}@zip"
testCompile 'org.ini4j:ini4j:0.5.2'
}