Commit graph

11 commits

Author SHA1 Message Date
cd2357
a92c392d95
Update jpackage comment for Windows 2020-10-23 20:13:09 +02:00
cd2357
0a1b581d32
Remove --runtime-image option using separate JDK
Remove the --runtime-image jpackage option, which was packaging Java 11 in the resulting installers. Reason is that jpackage 15 does not properly package the Java 11 runtime, but contains necessary features for signing and notarizing the app. On the other hand, jpackage 14 does package the Java 11 runtime correctly in the resulting installers, but does not support proper signing and notarizing.
2020-10-08 13:29:40 +02:00
cd2357
696a788e5e
Disable '-Djdk.module.illegalAccess=deny' javaoption
Disable the java option because it causes issues in the resulting app if packaged with a recent Java Runtime (tested with Java 11, 14 and 15).
2020-10-08 13:15:08 +02:00
cd2357
0b40dff95d
Set -Djdk.module.illegalAccess=deny
Backport #4600 into this PR.

Set `-Djdk.module.illegalAccess=deny` in order to reduce warning in startup logs.
2020-10-06 11:41:36 +02:00
cd2357
e409b496ed
Fix macOS dmg background image
Update macOS setup script to use the tiff image in the installer bundle, as this is the type of background image expected and included by jpackage.

Convert Bisq-background.png to Bisq-background.tiff using imagemagick.
2020-10-04 22:14:12 +02:00
cd2357
45a27aff64
Remove jpackage Windows TODO
Remove TODO, since previous argument concatenation fix addressed the issue (desktop and start menu shortcuts are created now).
2020-10-04 12:56:34 +02:00
cd2357
ebadce5cee
Fix jpackage option concatenation
Fixed typo affecting jpackage option concatenation, where a missing "+" caused subsequent options to not be considered. Surround concatenated options with parentheses, to ensure such a typo in the future is marked as a syntax error, and therefore avoided.
2020-10-04 12:16:29 +02:00
cd2357
91190ee101
macOS binaries: remove pkg
Update build script to only build the dmg for macOS.
2020-10-03 17:27:06 +02:00
cd2357
ce5d4ee051
Add support for jdk11 runtime-image
Update jpackage arguments such that a specific java version is packaged in the installers (in this case, v11).
2020-09-26 15:31:50 +02:00
cd2357
d8d3371678
Fix JDK v15 installer download URL
Fix the logic used to determine the JDK 15 assets and download links. Pre-releases are now excluded, as well as openj9 binaries. The resulting assets are final releases of hotspot builds.
2020-09-26 12:02:15 +02:00
cd2357
150599cc31
Integrate jpackage to build platform-specific binaries
Extend the gradle script with tasks that use jpackage to generate Bisq binaries. The kind of binaries generated depend on the OS where this is executed.

The packaging of binaries can be started by calling:
./gradlew --console=plain packageInstallers
from the root project folder.
2020-09-22 18:18:28 +02:00