apply plugin: 'elasticsearch.testclusters' apply plugin: 'elasticsearch.standalone-rest-test' apply plugin: 'elasticsearch.rest-test' dependencies { testCompile project(":x-pack:plugin:core") testCompile project(path: xpackModule('ml'), configuration: 'runtime') } testClusters.integTest { testDistribution = 'DEFAULT' setting 'xpack.security.enabled', 'false' setting 'xpack.license.self_generated.type', 'trial' }