From 2c013429a028291b6136e3df4b0eb3d5759eaa06 Mon Sep 17 00:00:00 2001 From: Sayali Gaikawad <61760125+gaiksaya@users.noreply.github.com> Date: Mon, 26 Jun 2023 16:31:45 -0700 Subject: [PATCH] Make 2.x as default for check compatibility task (#8270) Signed-off-by: Sayali Gaikawad --- .../groovy/org/opensearch/gradle/CheckCompatibilityTask.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildSrc/src/main/groovy/org/opensearch/gradle/CheckCompatibilityTask.groovy b/buildSrc/src/main/groovy/org/opensearch/gradle/CheckCompatibilityTask.groovy index ee6446fec6d57..81542bcb6d856 100644 --- a/buildSrc/src/main/groovy/org/opensearch/gradle/CheckCompatibilityTask.groovy +++ b/buildSrc/src/main/groovy/org/opensearch/gradle/CheckCompatibilityTask.groovy @@ -27,7 +27,7 @@ class CheckCompatibilityTask extends DefaultTask { List repositoryUrls = project.hasProperty('repositoryUrls') ? project.property('repositoryUrls').split(',') : getRepoUrls() @Input - String ref = project.hasProperty('ref') ? project.property('ref') : 'main' + String ref = project.hasProperty('ref') ? project.property('ref') : '2.x' @Internal List failedComponents = []