From 7f385d41cb015269ea415c93c31fb18f1d5d2e53 Mon Sep 17 00:00:00 2001 From: Marc Handalian Date: Thu, 19 Aug 2021 22:51:04 -0700 Subject: [PATCH] Fix build when opensearch_version flag is 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