mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 18:35:25 +00:00
This creates a basic skeleton for the plugin split by adding folders and example `build.gradle` files. It also includes a non-implemented `migrate-plugins.sh` script that we can fill in at a later time. Relates to elastic/x-pack-elasticsearch#2925 Original commit: elastic/x-pack-elasticsearch@2ab035d6b6
35 lines
922 B
Groovy
35 lines
922 B
Groovy
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}"
|
|
|
|
compile "org.elasticsearch:x-pack-common:${version}"
|
|
|
|
// monitoring deps
|
|
compile "org.elasticsearch.client:elasticsearch-rest-client:${version}"
|
|
compile "org.elasticsearch.client:elasticsearch-rest-client-sniffer:${version}"
|
|
}
|
|
|
|
dependencyLicenses {
|
|
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-common'
|
|
ignoreSha 'elasticsearch-rest-client'
|
|
ignoreSha 'transport-netty4'
|
|
ignoreSha 'elasticsearch-rest-client-sniffer'
|
|
}
|
|
|
|
parent.bundlePlugin {
|
|
from jar
|
|
}
|