mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-27 15:39:49 +00:00
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…
x
Reference in New Issue
Block a user