import org.elasticsearch.gradle.info.BuildParams apply plugin: 'elasticsearch.testclusters' apply plugin: 'elasticsearch.standalone-rest-test' apply plugin: 'elasticsearch.rest-test' restResources { restApi { includeCore '_common', 'bulk' includeXpack 'eql' } } dependencies { testCompile project(path: xpackModule('eql'), configuration: 'runtime') testCompile project(path: xpackModule('eql:qa:common'), configuration: 'runtime') } testClusters.integTest { testDistribution = 'DEFAULT' if (BuildParams.isSnapshotBuild()) { setting 'xpack.eql.enabled', 'true' } setting 'xpack.license.self_generated.type', 'basic' setting 'xpack.monitoring.collection.enabled', 'true' }