From c6c6fff3a853644d9643ab4107072a6ea5a2c68b Mon Sep 17 00:00:00 2001 From: HEdingfield Date: Mon, 26 Jun 2023 18:41:33 -0700 Subject: [PATCH 1/2] Upgrade deps (#722) Upgrades JDK to 20.0.1, Gradle to 8.1.1, spotbugs-gradle-plugin to 5.0.14, spotbugs to 4.7.3, checkstyle to 10.12.1, jlink to 2.26.0, commons.csv to 1.10.0, poi-ooxml to 5.2.3, jackson to 2.15.2, jupiter to 5.9.3, javafxplugin to 0.0.14, and javafx to 20.0.1. --- .github/workflows/release.yml | 21 ++--- .github/workflows/test.yml | 4 +- .idea/compiler.xml | 2 +- build.gradle | 34 ++++---- config/checkstyle/google_checks.xml | 101 +++++++++++------------ gradle/wrapper/gradle-wrapper.properties | 2 +- gradlew | 33 ++++++-- gradlew.bat | 1 + src/main/java/module-info.java | 2 +- 9 files changed, 113 insertions(+), 87 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2c89e3650..ea5e41bec 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,18 +2,19 @@ name: "Generate Releases" on: release: - types: [published] -# To test this workflow without creating a release, uncomment the following and add a branch name: -# push: -# branches: -# - 'branch-name' + types: [ published ] +## To test this workflow without creating a release, uncomment the following and add a branch name (making sure "push" +## is at the same indent level as "release": +# push: +# branches: +# - 'branch-name' jobs: release: runs-on: ${{ matrix.os }} strategy: - matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + matrix: + os: [ ubuntu-latest, windows-latest, macos-latest ] steps: - name: "Create base filename for all artifacts" id: basefn @@ -57,13 +58,13 @@ jobs: id: exefn shell: bash run: echo "FILEPATH=build/${{ steps.basefn.outputs.FILEPATH }}${{ steps.ext.outputs.EXT }}" >> $GITHUB_OUTPUT - + - uses: actions/checkout@v3 - - name: "Set up JDK 17.0.2" + - name: "Set up JDK 20.0.1" uses: actions/setup-java@v3 with: - java-version: '17.0.2' + java-version: '20.0.1' distribution: 'temurin' - name: "Validate Gradle wrapper" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2ff576a0e..39794bcb3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,10 +10,10 @@ jobs: - uses: actions/checkout@v2 with: submodules: recursive - - name: "Set up JDK 17" + - name: "Set up JDK 20.0.1" uses: actions/setup-java@v2 with: - java-version: '17' + java-version: '20.0.1' distribution: 'temurin' - name: "Test with Gradle" run: ./gradlew check diff --git a/.idea/compiler.xml b/.idea/compiler.xml index d294c7ff5..623bb33b5 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -1,7 +1,7 @@ - +