Adapt to upstream rename of rest and sniffer artifacts

Original commit: elastic/x-pack-elasticsearch@f43368b3fb
This commit is contained in:
Luca Cavanna 2017-07-13 09:44:53 +02:00 committed by GitHub
parent df41b8342d
commit 56cfaf8cb9
1 changed files with 5 additions and 6 deletions

View File

@ -27,13 +27,12 @@ dependencyLicenses {
mapping from: /bc.*/, to: 'bouncycastle' mapping from: /bc.*/, to: 'bouncycastle'
mapping from: /owasp-java-html-sanitizer.*/, to: 'owasp-java-html-sanitizer' mapping from: /owasp-java-html-sanitizer.*/, to: 'owasp-java-html-sanitizer'
mapping from: /transport-netty.*/, to: 'elasticsearch' mapping from: /transport-netty.*/, to: 'elasticsearch'
mapping from: /rest.*/, to: 'elasticsearch' mapping from: /elasticsearch-rest-client.*/, to: 'elasticsearch'
mapping from: /http.*/, to: 'httpclient' // pulled in by rest client mapping from: /http.*/, to: 'httpclient' // pulled in by rest client
mapping from: /commons-.*/, to: 'commons' // pulled in by rest client mapping from: /commons-.*/, to: 'commons' // pulled in by rest client
mapping from: /sniffer.*/, to: 'elasticsearch' ignoreSha 'elasticsearch-rest-client'
ignoreSha 'rest'
ignoreSha 'transport-netty4' ignoreSha 'transport-netty4'
ignoreSha 'sniffer' ignoreSha 'elasticsearch-rest-client-sniffer'
} }
licenseHeaders { licenseHeaders {
@ -74,8 +73,8 @@ dependencies {
testCompile 'com.google.code.findbugs:jsr305:3.0.1' testCompile 'com.google.code.findbugs:jsr305:3.0.1'
// monitoring deps // monitoring deps
compile "org.elasticsearch.client:rest:${version}" compile "org.elasticsearch.client:elasticsearch-rest-client:${version}"
compile "org.elasticsearch.client:sniffer:${version}" compile "org.elasticsearch.client:elasticsearch-rest-client-sniffer:${version}"
// ml deps // ml deps
compile 'net.sf.supercsv:super-csv:2.4.0' compile 'net.sf.supercsv:super-csv:2.4.0'