Skip to content

Commit

Permalink
Add qualifier default to alpha1 in build.gradle (#151)
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
  • Loading branch information
peterzhuamazon committed Mar 31, 2022
1 parent f2f57e5 commit a6c2da8
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}

Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit a6c2da8

Please sign in to comment.