Skip to content

Commit b47f673

Browse files
committed
update the Checkstyle tool to v13.0.0 (requires JDK 21 or higher)
1 parent 47ed566 commit b47f673

4 files changed

Lines changed: 11 additions & 7 deletions

File tree

.github/workflows/push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ name: CI at GitHub
55
on: [push]
66

77
jobs:
8-
Java17-Linux:
8+
Java21-Linux:
99
if: contains(toJson(github.event.commits), '[ci skip] ') == false
1010
runs-on: ubuntu-24.04
1111
steps:
1212
- uses: actions/setup-java@v5
1313
with:
1414
distribution: 'zulu'
15-
java-version: 17
15+
java-version: 21
1616
- uses: actions/checkout@v6
1717
- uses: gradle/actions/wrapper-validation@v5
1818
- run: ./gradlew build javadoc --console=plain --stacktrace

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ DacWizard was designed for a desktop environment with:
2727
## How to build and run DacWizard from source
2828

2929
1. Install a 64-bit [Java Development Kit (JDK)][adoptium],
30-
version 17 or higher,
30+
version 21 or higher,
3131
if you don't already have one.
3232
2. Point the `JAVA_HOME` environment variable to your JDK installation:
3333
(In other words, set it to the path of a directory/folder
3434
containing a "bin" that contains a Java executable.
3535
That path might look something like
36-
"C:\Program Files\Eclipse Adoptium\jdk-17.0.3.7-hotspot"
37-
or "/usr/lib/jvm/java-17-openjdk-amd64/" or
38-
"/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home" .)
36+
"C:\Program Files\Eclipse Adoptium\jdk-21.0.3.7-hotspot"
37+
or "/usr/lib/jvm/java-21-openjdk-amd64/" or
38+
"/Library/Java/JavaVirtualMachines/zulu-21.jdk/Contents/Home" .)
3939
+ using Bash or Zsh: `export JAVA_HOME="` *path to installation* `"`
4040
+ using [Fish]: `set -g JAVA_HOME "` *path to installation* `"`
4141
+ using Windows Command Prompt: `set JAVA_HOME="` *path to installation* `"`

gradle.properties

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
## configure Gradle properties for building the DacWizard Project
2+
3+
## Checkstyle requires JDK 21 or higher:
4+
netbeans.hint.jdkPlatform = JDK_21__System_

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[versions]
44

5-
checkstyle = "12.3.1"
5+
checkstyle = "13.0.0"
66
jme = "3.9.0-beta1"
77

88
[libraries]

0 commit comments

Comments
 (0)