mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-19 04:45:07 -04:00
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
15 lines
405 B
Groovy
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)
|
|
}
|
|
}
|