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 <laurent.arnoud@platform.sh>
This commit is contained in:
parent
017773c62d
commit
8a19ccc851
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue