Skip to content

Commit

Permalink
Build: do not ship jdk when no-jdk option set (#3039)
Browse files Browse the repository at this point in the history
When using package distribution

```
./gradlew :distribution:packages:no-jdk-deb:assemble
```

When `true` this include jdk switch the boolean to the correct value

fix #3024

Signed-off-by: Laurent Arnoud <[email protected]>
  • Loading branch information
spk authored Apr 29, 2022
1 parent 017773c commit 8a19ccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distribution/packages/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 8a19ccc

Please sign in to comment.