39 lines
1.1 KiB
Groovy
39 lines
1.1 KiB
Groovy
import org.elasticsearch.gradle.internal.info.BuildParams
|
|
|
|
apply plugin: 'elasticsearch.test-with-dependencies'
|
|
apply plugin: 'elasticsearch.internal-cluster-test'
|
|
apply plugin: 'elasticsearch.internal-yaml-rest-test'
|
|
apply plugin: 'elasticsearch.internal-java-rest-test'
|
|
apply plugin: 'elasticsearch.yaml-rest-compat-test'
|
|
|
|
esplugin {
|
|
description 'Elasticsearch Expanded Pack Plugin - Data Streams'
|
|
classname 'org.elasticsearch.datastreams.DataStreamsPlugin'
|
|
}
|
|
|
|
restResources {
|
|
restApi {
|
|
include 'bulk', 'count', 'search', '_common', 'indices', 'index', 'cluster', 'rank_eval', 'reindex', 'update_by_query', 'delete_by_query',
|
|
'eql', 'data_stream', 'ingest', 'cat'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation project(path: ':test:test-clusters')
|
|
}
|
|
|
|
tasks.named('yamlRestTest') {
|
|
usesDefaultDistribution()
|
|
}
|
|
|
|
tasks.named('javaRestTest') {
|
|
usesDefaultDistribution()
|
|
}
|
|
|
|
if (BuildParams.inFipsJvm){
|
|
// These fail in CI but only when run as part of checkPart2 and not individually.
|
|
// Tracked in :
|
|
tasks.named("javaRestTest").configure{enabled = false }
|
|
tasks.named("yamlRestTest").configure{enabled = false }
|
|
}
|