elasticsearch/x-pack/plugin/ccr/qa/build.gradle
Rene Groeschke 13c8aaeffa
[Gradle] Remove static use of BuildParams (#115122)
Static fields dont do well in Gradle with configuration cache enabled.

- Use buildParams extension in build scripts
- Keep BuildParams.ci for now for easy serverless migration
-  Tweak testing doc
2024-11-15 17:58:57 +01:00

15 lines
405 B
Groovy

import org.elasticsearch.gradle.internal.info.BuildParams
apply plugin: 'elasticsearch.java'
dependencies {
api project(':test:framework')
}
subprojects {
tasks.withType(Test).configureEach {
// These fail in CI but only when run as part of checkPart2 and not individually.
// Tracked in : https://github.com/elastic/elasticsearch/issues/66661
buildParams.withFipsEnabledOnly(it)
}
}