From a76aaeec93468a28b6a12320545ebfb39599d884 Mon Sep 17 00:00:00 2001 From: Rabi Panda Date: Wed, 24 Feb 2021 08:34:12 -0800 Subject: [PATCH] Disable BWC checks. (#130) As part of this PR, we are disabling the BWC checks. Once we have finalized the versions for the fork, we can re-enable it with right configurations. Relates #105 Signed-off-by: Rabi Panda Signed-off-by: Peter Nied --- build.gradle | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index 4456f83abc8..3acbb9c60fe 100644 --- a/build.gradle +++ b/build.gradle @@ -171,12 +171,8 @@ tasks.register("verifyVersions") { */ boolean bwc_tests_enabled = false -String bwc_tests_disabled_issue = "" /* place a PR link here when committing bwc changes */ -if (project.findProperty("bwc_tests_enabled") != null) { - bwc_tests_enabled = Boolean.parseBoolean(project.findProperty("bwc_tests_enabled")) - bwc_tests_disabled_issue = "Backward compatibility tests disabled via commandline" -} - +/* place a PR link here when committing bwc changes */ +final String bwc_tests_disabled_issue = "https://github.com/opendistro-for-elasticsearch/search/issues/105" if (bwc_tests_enabled == false) { if (bwc_tests_disabled_issue.isEmpty()) { throw new GradleException("bwc_tests_disabled_issue must be set when bwc_tests_enabled == false")