apply plugin: 'elasticsearch.internal-es-plugin'
apply plugin: 'elasticsearch.internal-java-rest-test'

esplugin {
  name = 'x-pack-logstash'
  description = 'Elasticsearch Expanded Pack Plugin - Logstash'
  classname ='org.elasticsearch.xpack.logstash.Logstash'
  extendedPlugins = ['x-pack-core']
}

base {
  archivesName = 'x-pack-logstash'
}

dependencies {
  compileOnly project(path: xpackModule('core'))
  testImplementation(testArtifact(project(xpackModule('core'))))
  javaRestTestImplementation(project(path: xpackModule('core')))
  javaRestTestImplementation(testArtifact(project(xpackModule('core'))))

  clusterModules project(':modules:analysis-common')
}
