Rene Groeschke 01e9126588
Remove deprecated usage of testCompile configuration (#57921) (#58083)
* Remove usage of deprecated testCompile configuration
* Replace testCompile usage by testImplementation
* Make testImplementation non transitive by default (as we did for testCompile)
* Update CONTRIBUTING about using testImplementation for test dependencies
* Fail on testCompile configuration usage
2020-06-14 22:30:44 +02:00

27 lines
719 B
Groovy

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 {
testImplementation project(path: xpackModule('eql'), configuration: 'runtime')
testImplementation 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'
}