apply plugin: 'elasticsearch.internal-java-rest-test'
// Necessary to use tests in Serverless
apply plugin: 'elasticsearch.internal-test-artifact'

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

dependencies {
  javaRestTestImplementation project(xpackModule('esql-core'))
  javaRestTestImplementation project(xpackModule('esql'))
  javaRestTestImplementation project(xpackModule('esql:qa:server'))
}
