apply plugin: 'elasticsearch.standalone-rest-test'
apply plugin: 'elasticsearch.rest-test'

dependencies {
    testCompile project(path: ':x-pack-elasticsearch:plugin', configuration: 'runtime')
}

integTestCluster {
    setting 'xpack.security.enabled', 'false'
    setting 'xpack.monitoring.enabled', 'false'
    setting 'xpack.watcher.enabled', 'false'
    setting 'xpack.ml.enabled', 'true'
    numNodes = 3
    distribution = 'zip'
    plugin ':x-pack-elasticsearch:plugin'
}