20 lines
613 B
Groovy
20 lines
613 B
Groovy
import org.elasticsearch.gradle.info.BuildParams
|
|
|
|
apply plugin: 'elasticsearch.testclusters'
|
|
apply plugin: 'elasticsearch.standalone-rest-test'
|
|
apply plugin: 'elasticsearch.rest-test'
|
|
|
|
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'
|
|
}
|