mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-10 06:55:32 +00:00
* 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
27 lines
719 B
Groovy
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'
|
|
}
|