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

esplugin {
  name = 'operator-privileges-test'
  description = 'An test plugin for testing hard to get internals'
  classname = 'org.elasticsearch.xpack.security.operator.OperatorPrivilegesTestPlugin'
}

dependencies {
  compileOnly project(':x-pack:plugin:core')
  clusterPlugins project(':x-pack:plugin:security:qa:operator-privileges-tests')
  javaRestTestImplementation project(':x-pack:plugin:security')
}

tasks.named("javaRestTest").configure {
  usesDefaultDistribution("to be triaged")
}
