evaluationDependsOn(xpackModule('core'))

apply plugin: 'elasticsearch.esplugin'
esplugin {
    name 'x-pack-deprecation'
    description 'Elasticsearch Expanded Pack Plugin - Deprecation'
    classname 'org.elasticsearch.xpack.deprecation.Deprecation'
    extendedPlugins = ['x-pack-core']
}
archivesBaseName = 'x-pack-deprecation'

dependencies {
    compileOnly "org.elasticsearch.plugin:x-pack-core:${version}"
}

run {
    plugin xpackModule('core')
}

integTest.enabled = false