elasticsearch/x-pack/plugin/monitoring/build.gradle

32 lines
1.0 KiB
Groovy

apply plugin: 'elasticsearch.internal-es-plugin'
apply plugin: 'elasticsearch.internal-cluster-test'
apply plugin: 'elasticsearch.internal-test-artifact'
esplugin {
name 'x-pack-monitoring'
description 'Elasticsearch Expanded Pack Plugin - Monitoring'
classname 'org.elasticsearch.xpack.monitoring.Monitoring'
extendedPlugins = ['x-pack-core']
}
archivesBaseName = 'x-pack-monitoring'
dependencies {
compileOnly project(path: xpackModule('core'))
testImplementation(testArtifact(project(xpackModule('core'))))
// monitoring deps
api project(':client:rest')
api project(':client:sniffer')
// baz - this goes away after we separate out the actions #27759
testImplementation project(xpackModule('watcher'))
testImplementation project(xpackModule('ilm'))
testImplementation project(xpackModule('data-streams'))
}
tasks.named("dependencyLicenses").configure {
mapping from: /http.*/, to: 'httpclient' // pulled in by rest client
mapping from: /commons-.*/, to: 'commons' // pulled in by rest client
}