From 19af3f2d0057921d2be279deefbecc4073404136 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 11:05:00 -0700 Subject: [PATCH] update build.gradle to use alerting-spi snapshot version (#1217) (#1219) (cherry picked from commit ddfa87c370a4e952033922ca49c76fbc03d55143) Signed-off-by: Subhobrata Dey Signed-off-by: github-actions[bot] Co-authored-by: github-actions[bot] --- build.gradle | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 688128491..29d40e0d7 100644 --- a/build.gradle +++ b/build.gradle @@ -18,6 +18,9 @@ buildscript { if (buildVersionQualifier) { opensearch_build += "-${buildVersionQualifier}" } + + alerting_spi_build = opensearch_build + alerting_spi_build += "-SNAPSHOT" if (isSnapshot) { opensearch_build += "-SNAPSHOT" @@ -171,7 +174,7 @@ dependencies { compileOnly "org.opensearch.client:opensearch-rest-client:${opensearch_version}" compileOnly "org.jetbrains.kotlin:kotlin-stdlib:${kotlin_version}" compileOnly "org.opensearch:opensearch-job-scheduler-spi:${opensearch_build}" - compileOnly "org.opensearch.alerting:alerting-spi:${opensearch_build}" + compileOnly "org.opensearch.alerting:alerting-spi:${alerting_spi_build}" implementation "org.apache.commons:commons-csv:1.10.0" compileOnly "com.google.guava:guava:32.1.3-jre"