2017-12-08 11:41:32 -05:00
|
|
|
apply plugin: 'elasticsearch.build'
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
}
|
|
|
|
|
|
|
|
archivesBaseName = 'x-pack-monitoring'
|
|
|
|
|
|
|
|
// TODO: enable this once we have tests
|
|
|
|
test.enabled=false
|
|
|
|
licenseHeaders.enabled = false
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
provided "org.elasticsearch:elasticsearch:${version}"
|
|
|
|
|
2017-12-12 15:23:29 -05:00
|
|
|
compile "org.elasticsearch.plugin:x-pack-core:${version}"
|
2017-12-08 11:41:32 -05:00
|
|
|
|
|
|
|
// monitoring deps
|
|
|
|
compile "org.elasticsearch.client:elasticsearch-rest-client:${version}"
|
|
|
|
compile "org.elasticsearch.client:elasticsearch-rest-client-sniffer:${version}"
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencyLicenses {
|
2017-12-08 16:42:50 -05:00
|
|
|
mapping from: /elasticsearch-rest-client.*/, to: 'elasticsearch'
|
|
|
|
mapping from: /http.*/, to: 'httpclient' // pulled in by rest client
|
|
|
|
mapping from: /commons-.*/, to: 'commons' // pulled in by rest client
|
|
|
|
ignoreSha 'x-pack-core'
|
|
|
|
ignoreSha 'elasticsearch-rest-client'
|
|
|
|
ignoreSha 'transport-netty4'
|
|
|
|
ignoreSha 'elasticsearch-rest-client-sniffer'
|
2017-12-08 11:41:32 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
parent.bundlePlugin {
|
|
|
|
from jar
|
|
|
|
}
|