From 8a19ccc851cd62f2647b9bd34820518e8d2ad8c1 Mon Sep 17 00:00:00 2001 From: Laurent Arnoud Date: Fri, 29 Apr 2022 19:28:34 +0000 Subject: [PATCH] Build: do not ship jdk when no-jdk option set (#3039) When using package distribution ``` ./gradlew :distribution:packages:no-jdk-deb:assemble ``` When `true` this include jdk switch the boolean to the correct value fix https://github.com/opensearch-project/OpenSearch/issues/3024 Signed-off-by: Laurent Arnoud --- distribution/packages/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distribution/packages/build.gradle b/distribution/packages/build.gradle index 93a82ff324835..cd0cf6b9db64d 100644 --- a/distribution/packages/build.gradle +++ b/distribution/packages/build.gradle @@ -355,7 +355,7 @@ tasks.register('buildDeb', Deb) { } tasks.register('buildNoJdkDeb', Deb) { - configure(commonDebConfig(true, 'x64')) + configure(commonDebConfig(false, 'x64')) } Closure commonRpmConfig(boolean jdk, String architecture) {