Skip to content

Commit

Permalink
Default common utils and job scheduler versions to OpenSearch.
Browse files Browse the repository at this point in the history
Signed-off-by: dblock <dblock@amazon.com>
  • Loading branch information
dblock committed Aug 14, 2021
1 parent 7267d4f commit 096a670
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ buildscript {
ext {
opensearch_group = "org.opensearch"
opensearch_version = System.getProperty("opensearch.version", "1.0.0")
common_utils_version = System.getProperty("common_utils.version", "1.0.0.0")
job_scheduler_version = System.getProperty("job_scheduler.version", "1.0.0.0")
// 1.0.0 -> 1.0.0.0, and 1.0.0-SNAPSHOT -> 1.0.0.0-SNAPSHOT
opensearch_build = opensearch_version.replaceAll(/(\.\d)([^\d]*)$/, '$1.0$2')
common_utils_version = System.getProperty("common_utils.version", opensearch_build)
job_scheduler_version = System.getProperty("job_scheduler.version", opensearch_build)
}

repositories {
Expand Down Expand Up @@ -63,7 +65,6 @@ repositories {
}

ext {
opensearchVersion = System.getProperty("opensearch.version", "1.0.0")
isSnapshot = "true" == System.getProperty("build.snapshot", "true")
}

Expand Down

0 comments on commit 096a670

Please sign in to comment.