From a6c2da895cfd585fa48aeb1454f5584cbb331876 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Thu, 31 Mar 2022 16:44:08 -0400 Subject: [PATCH] Add qualifier default to alpha1 in build.gradle (#151) Signed-off-by: Peter Zhu --- build.gradle | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index f11f252e..cf3ca5b9 100644 --- a/build.gradle +++ b/build.gradle @@ -7,6 +7,8 @@ buildscript { ext { opensearch_group = "org.opensearch" opensearch_version = System.getProperty("opensearch.version", "2.0.0-alpha1-SNAPSHOT") + isSnapshot = "true" == System.getProperty("build.snapshot", "true") + buildVersionQualifier = System.getProperty("build.version_qualifier", "alpha1") kotlin_version = System.getProperty("kotlin.version", "1.6.10") } @@ -38,11 +40,6 @@ repositories { maven { url "https://aws.oss.sonatype.org/content/repositories/snapshots" } } -ext { - isSnapshot = "true" == System.getProperty("build.snapshot", "true") - buildVersionQualifier = System.getProperty("build.version_qualifier") -} - allprojects { group 'org.opensearch.commons' version = opensearch_version.tokenize('-')[0] + '.0'