apply plugin: 'elasticsearch.rest-test' dependencies { testCompile project(path: ':x-plugins:elasticsearch:x-pack', configuration: 'runtime') testCompile project(path: ':modules:lang-painless', configuration: 'runtime') } integTest { cluster { plugin 'x-pack', project(':x-plugins:elasticsearch:x-pack') setting 'script.inline', 'true' setting 'xpack.security.enabled', 'false' setting 'xpack.monitoring.enabled', 'false' } }