apply plugin: 'elasticsearch.internal-es-plugin'
apply plugin: 'elasticsearch.internal-cluster-test'

esplugin {
  name = 'x-pack-ilm'
  description = 'Elasticsearch Expanded Pack Plugin - Index Lifecycle Management'
  classname ='org.elasticsearch.xpack.ilm.IndexLifecycle'
  extendedPlugins = ['x-pack-core']
  hasNativeController =false
  requiresKeystore =true
}
base {
  archivesName = 'x-pack-ilm'
}

dependencies {
  compileOnly project(path: xpackModule('core'))
  testImplementation(testArtifact(project(xpackModule('core'))))
  testImplementation project(xpackModule('ccr'))
  testImplementation project(xpackModule('slm')) // used by LifecycleOperationSnapshotTests
  testImplementation project(':modules:data-streams')
}

addQaCheckDependencies(project)

