|
@@ -1,3 +1,5 @@
|
|
|
+import org.elasticsearch.gradle.info.BuildParams
|
|
|
+
|
|
|
evaluationDependsOn(xpackModule('core'))
|
|
|
|
|
|
apply plugin: 'elasticsearch.esplugin'
|
|
@@ -40,3 +42,9 @@ task testJar(type: Jar) {
|
|
|
artifacts {
|
|
|
testArtifacts testJar
|
|
|
}
|
|
|
+
|
|
|
+test {
|
|
|
+ if (BuildParams.isSnapshotBuild() == false) {
|
|
|
+ systemProperty 'es.searchable_snapshots_feature_enabled', 'true'
|
|
|
+ }
|
|
|
+}
|