Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/keenwrite.git

Update build instructions for JDK 19

AuthorDaveJarvis <email>
Date2022-10-28 20:15:45 GMT-0700
Commit2a4444a5639a900dbd61b925902eab6c5e5b2a4f
Parentce8db8c
Delta19 lines added, 13 lines removed, 6-line increase
BUILD.md
Download and install the following software packages:
-* [JDK 18](https://bell-sw.com/pages/downloads/?version=java-18) (Full JDK + JavaFX)
-* [Gradle 7.3](https://gradle.org/releases) (build fails on 7.5.1)
-* [Git 2.37.1](https://git-scm.com/downloads)
+* [JDK 19](https://bell-sw.com/pages/downloads) (Full JDK + JavaFX)
+* [Gradle 7.6-rc-1](https://services.gradle.org/distributions/gradle-7.6-rc-1-bin.zip)
+* [Git 2.38.1](https://git-scm.com/downloads)
## Repository
# Integrated development environments
-This section describes setup instructions to import and run the application using an integrated development environment (IDE). Running the application should trigger a build.
+This section describes setup instructions to import and run the application
+using an integrated development environment (IDE). Running the application
+should trigger a build.
## IntelliJ IDEA
-This section describes how to build and run the application using IntellIJ's IDEA.
+This section describes how to build and run the application using
+IntellIJ's IDEA.
### Import
# Installers
-This section describes how to set up the development environment and build native executables for supported operating systems.
+This section describes how to set up the development environment and build
+native executables for supported operating systems.
## Setup
# Versioning
-Version numbers are read directly from Git using a plugin. The version number is written to `app.properties` in the `resources` directory. The application reads that file to display version information upon start.
+Version numbers are read directly from Git using a plugin. The version
+number is written to `app.properties` in the `resources` directory. The
+application reads that file to display version information upon start.
README.md
On other platforms, start the application as follows:
-1. Download the *full version* of the Java Runtime Environment, [JRE 18](https://bell-sw.com/pages/downloads/#/java-18).
+1. Download the *Full version* of the Java Runtime Environment, [JRE 19](https://bell-sw.com/pages/downloads).
1. Install the JRE.
1. Open a terminal window.
README.zh-CN.md
### Other
-Download and install a full version of [OpenJDK 18](https://bell-sw.com/pages/downloads/#/java-18) that includes JavaFX module support, then run:
+Download and install a full version of [OpenJDK 19](https://bell-sw.com/pages/downloads) that includes JavaFX module support, then run:
``` bash
build.gradle
javafx {
- version = '18'
+ version = '19'
modules = ['javafx.controls', 'javafx.swing']
configuration = 'compileOnly'
}
dependencies {
- def v_junit = '5.9.0'
+ def v_junit = '5.9.1'
def v_flexmark = '0.64.0'
def v_jackson = '2.13.4'
installer.sh
ARG_JAVA_OS="linux"
ARG_JAVA_ARCH="amd64"
-ARG_JAVA_VERSION="18.0.2"
-ARG_JAVA_UPDATE="10"
+ARG_JAVA_VERSION="19.0.1"
+ARG_JAVA_UPDATE="11"
ARG_JAVA_DIR="java"