From a6935cc2a3b45dd40b38237e7b9b787a9bbbe48b Mon Sep 17 00:00:00 2001 From: Marc Handalian Date: Thu, 19 Aug 2021 22:51:04 -0700 Subject: [PATCH] Fix build to succeed with opensearch_version provided Signed-off-by: Marc Handalian --- build.gradle | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 307af6f9..1188d859 100644 --- a/build.gradle +++ b/build.gradle @@ -348,12 +348,9 @@ task buildRca() { workingDir("$licenseDir") commandLine 'rm', "-f", "performanceanalyzer-rca-1.0.0.0.jar.sha1" } - exec { - workingDir("$projectDir") - commandLine './gradlew', 'updateShas' - } } } +buildRca.finalizedBy updateShas // This value is set by the unpackRca task def rcaArtifactsDir