[bisq-network/bisq] [WIP] Add official Java 15 support (PR #5836)
cd2357
notifications at github.com
Thu Nov 18 13:46:51 CET 2021
@cd2357 commented on this pull request.
> @@ -69,10 +69,10 @@ Use VirtualBox > 6.1 with following configuration:
#### For every OS
* Install latest security updates
-* Install/Upgrade to latest Java 11 SDK
- * macOS (brew option): `brew upgrade openjdk at 11`
- * Ubuntu (brew option): `brew upgrade java11`
- * Windows: Download latest version from https://www.oracle.com/java/technologies/javase-jdk11-downloads.html
+* Install/Upgrade to latest Java 15 SDK
+ * macOS (brew option): `brew upgrade zulu15`
+ * Ubuntu (brew option): `brew upgrade zulu15`
+ * Windows: Download latest version from https://www.oracle.com/java/technologies/javase/jdk15-archive-downloads.html
If the plan is to start using the Zulu JDK, then the right link here is
https://www.azul.com/downloads/?version=java-15-mts&os=windows&architecture=x86-64-bit&package=jdk
> @@ -8,8 +8,12 @@ on:
jobs:
build:
- runs-on: ubuntu-18.04
-
+ runs-on: ${{ matrix.os }}
+ strategy:
+ matrix:
+ os: [ubuntu-latest, macOS-latest, windows-latest]
+ java: [ '11', '11.0.3', '15', '15.0.5']
Why are versions specified twice, once as generic and once with a specific minor version?
This will 2x the build verification time, thus the wait time between push and "PR is mergeable".
> @@ -7,8 +7,8 @@ task jpackageSanityChecks {
description 'Interactive sanity checks on the version of the code that will be packaged'
doLast {
- // Enforce JDK 11 for compiling and building
- assert JavaVersion.current().isJava11(): "JDK 11 is required"
+ // Enforce JDK 15 for compiling and building
+ assert JavaVersion.current() == JavaVersion.VERSION_15: "JDK 15 is required"
Do you want to enforce v15, or also allow v15?
If enforce
- this means binaries will be compiled with v15 (not just `jpackage`-d)
- then we should also enforce v15 for development (i.e. not allow anything below, like v10 or v11)
If also allow
- I can look into the right syntax using Gradle toolchains, as cbeams suggested
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/5836#pullrequestreview-809856926
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20211118/df91d29f/attachment.htm>
More information about the bisq-github
mailing list