From d9a9f599cda4949f2341ba54fd8cf042d215fb68 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Fri, 1 Apr 2022 18:37:23 -0400 Subject: [PATCH] Update knn with dynamic version assignment (#349) Signed-off-by: Peter Zhu --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index dc65c8c87..24ea5c022 100644 --- a/build.gradle +++ b/build.gradle @@ -427,7 +427,7 @@ afterEvaluate { ospackage { packageName = "${name}" release = isSnapshot ? "0.1" : '1' - version = "${project.version}" - "-SNAPSHOT" + version = "${project.version}" into '/usr/share/opensearch/plugins' from(zipTree(bundlePlugin.archivePath)) { @@ -441,7 +441,7 @@ afterEvaluate { requires('opensearch', versions.opensearch, EQUAL) //TODO: Use default knn lib version for now, fix will be compare with version that is used in build step. - requires("opensearch-knnlib", "1.3.0.0", EQUAL) + requires("opensearch-knnlib", version, EQUAL) packager = 'Amazon' vendor = 'Amazon' os = 'LINUX'