mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 09:28:55 -04:00
* Fix Gradle Deprecation warning as declaring an is- property with a Boolean type has been deprecated.
* Make use of new layout.settingsFolder api to address some cross project references
* Fix buildParams snapshot check for multiprojet projects
(cherry picked from commit e19b2264af
)
# Conflicts:
# build-tools-internal/gradle/wrapper/gradle-wrapper.properties
# build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/BaseInternalPluginBuildPlugin.java
# build-tools-internal/src/main/resources/minimumGradleVersion
# docs/build.gradle
# gradle/wrapper/gradle-wrapper.properties
# plugins/examples/gradle/wrapper/gradle-wrapper.properties
# qa/lucene-index-compatibility/build.gradle
# x-pack/qa/multi-project/core-rest-tests-with-multiple-projects/build.gradle
# x-pack/qa/multi-project/xpack-rest-tests-with-multiple-projects/build.gradle
37 lines
1.2 KiB
Groovy
37 lines
1.2 KiB
Groovy
apply plugin: 'elasticsearch.internal-yaml-rest-test'
|
|
import org.elasticsearch.gradle.internal.info.BuildParams
|
|
|
|
dependencies {
|
|
testImplementation project(':x-pack:qa')
|
|
clusterModules project(':modules:mapper-extras')
|
|
clusterModules project(':modules:rank-eval')
|
|
clusterModules project(':modules:ingest-common')
|
|
clusterModules project(':modules:reindex')
|
|
clusterModules project(':modules:analysis-common')
|
|
clusterModules project(':modules:health-shards-availability')
|
|
clusterModules project(':modules:data-streams')
|
|
clusterModules project(xpackModule('stack'))
|
|
clusterModules project(xpackModule('ilm'))
|
|
clusterModules project(xpackModule('mapper-constant-keyword'))
|
|
clusterModules project(xpackModule('wildcard'))
|
|
}
|
|
|
|
restResources {
|
|
restTests {
|
|
includeCore '*'
|
|
}
|
|
}
|
|
|
|
tasks.named("yamlRestTest").configure {
|
|
ArrayList<String> blacklist = [
|
|
'index/10_with_id/Index with ID',
|
|
'indices.get_alias/10_basic/Get alias against closed indices'
|
|
];
|
|
if (buildParams.snapshotBuild == false) {
|
|
blacklist += [
|
|
'synonyms_privileges/10_synonyms_with_privileges/*',
|
|
'synonyms_privileges/20_synonyms_no_privileges/*'
|
|
];
|
|
}
|
|
systemProperty 'tests.rest.blacklist', blacklist.join(',')
|
|
}
|