Dave Jarvis' Repositories

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

Update version numbers, upgrade libraries

AuthorDaveJarvis <email>
Date2023-05-04 17:42:14 GMT-0700
Commit351e27e7eb7c539e85020546b6774115f728d32d
Parentc6219fd
BUILD.md
Download and install the following software packages:
-* [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)
+* [JDK 20](https://bell-sw.com/pages/downloads) (Full JDK + JavaFX)
+* [Gradle 8.1.1](https://gradle.org/releases)
+* [Git 2.40.1](https://git-scm.com/downloads)
* [warp v0.4.0-alpha](https://github.com/Reisz/warp/releases/tag/v0.4.0)
build.gradle
}
dependencies {
- classpath 'org.owasp:dependency-check-gradle:7.4.3'
- classpath "com.github.spotbugs.snom:spotbugs-gradle-plugin:5.0.13"
+ classpath 'org.owasp:dependency-check-gradle:8.2.1'
+ classpath "com.github.spotbugs.snom:spotbugs-gradle-plugin:5.0.14"
}
}
plugins {
id 'application'
- id 'org.openjfx.javafxplugin' version '0.0.13'
- id 'com.palantir.git-version' version '0.15.0'
- //id "com.github.spotbugs" version "5.0.13"
+ id 'org.openjfx.javafxplugin' version '0.0.14'
+ id 'com.palantir.git-version' version '3.0.0'
+ //id "com.github.spotbugs" version "5.0.14"
}
java {
- sourceCompatibility = 19
- targetCompatibility = 19
+ sourceCompatibility = 20
+ targetCompatibility = 20
}
dependencies {
def v_junit = '5.9.1'
- def v_flexmark = '0.64.0'
- def v_jackson = '2.14.2'
- def v_echosvg = '0.2.2'
- def v_picocli = '4.7.0'
+ def v_flexmark = '0.64.4'
+ def v_jackson = '2.15.0'
+ def v_echosvg = '0.3'
+ def v_picocli = '4.7.3'
// JavaFX
implementation 'org.controlsfx:controlsfx:11.1.2'
implementation 'org.fxmisc.richtext:richtextfx:0.11.0'
implementation 'org.fxmisc.flowless:flowless:0.7.0'
implementation 'org.fxmisc.wellbehaved:wellbehavedfx:0.3.3'
implementation 'com.miglayout:miglayout-javafx:11.0'
- implementation 'com.dlsc.preferencesfx:preferencesfx-core:11.11.0'
+ implementation 'com.dlsc.preferencesfx:preferencesfx-core:11.15.0'
implementation 'com.panemu:tiwulfx-dock:0.2'
// HTML parsing and rendering
- implementation 'org.jsoup:jsoup:1.15.3'
+ implementation 'org.jsoup:jsoup:1.16.1'
// TODO: https://github.com/flyingsaucerproject/flyingsaucer/pull/170
//implementation 'org.xhtmlrenderer:flying-saucer-core:9.1.22'
implementation 'org.ahocorasick:ahocorasick:0.6.3'
implementation 'org.apache.commons:commons-configuration2:2.9.0'
- implementation 'com.googlecode.juniversalchardet:juniversalchardet:1.0.3'
+ implementation 'com.github.albfernandez:juniversalchardet:2.4.0'
implementation 'javax.validation:validation-api:2.0.1.Final'
implementation 'org.greenrobot:eventbus-java:3.3.1'
- //implementation 'commons-beanutils:commons-beanutils:1.9.4'
// Command-line parsing
src/main/java/com/keenwrite/preferences/SkeletonStorageHandler.java
}
- @Override
public Preferences getPreferences() {
return null;
src/test/java/com/keenwrite/io/downloads/DownloadManagerTest.java
import java.io.IOException;
import java.io.OutputStream;
+import java.net.URISyntaxException;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Executors;
@Test
void test_Async_DownloadRequested_DownloadCompletes()
- throws IOException, InterruptedException, ExecutionException {
+ throws IOException, InterruptedException,
+ ExecutionException, URISyntaxException {
final var complete = new AtomicInteger();
final var transferred = new AtomicLong();
Delta20 lines added, 20 lines removed