diff --git a/build.gradle b/build.gradle index 33e2385a9..9ad269e56 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" @@ -168,7 +171,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"