31 lines
875 B
Groovy
31 lines
875 B
Groovy
apply plugin: 'elasticsearch.esplugin'
|
|
esplugin {
|
|
name 'x-pack-index-lifecycle'
|
|
description 'Elasticsearch Expanded Pack Plugin - Index Lifecycle'
|
|
classname 'org.elasticsearch.xpack.indexlifecycle.IndexLifecycle'
|
|
hasNativeController false
|
|
requiresKeystore true
|
|
extendedPlugins = ['x-pack-core']
|
|
licenseFile project(':x-pack-elasticsearch').file('LICENSE.txt')
|
|
noticeFile project(':x-pack-elasticsearch').file('NOTICE.txt')
|
|
}
|
|
archivesBaseName = 'x-pack-index-lifecycle'
|
|
|
|
// TODO: enable this once we have tests
|
|
licenseHeaders.enabled = false
|
|
|
|
integTest.enabled = false
|
|
|
|
dependencies {
|
|
compileOnly "org.elasticsearch.plugin:x-pack-core:${version}"
|
|
testCompile project(path: xpackModule('core'), configuration: 'testArtifacts')
|
|
}
|
|
|
|
dependencyLicenses {
|
|
ignoreSha 'x-pack-core'
|
|
}
|
|
|
|
run {
|
|
plugin ':x-pack-elasticsearch:plugin:core'
|
|
}
|