Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump checkstyle to 10.21.1 and CodeNarc to 3.5.0 #261

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Jimver
Copy link

@Jimver Jimver commented Dec 30, 2024

- Bump the checkstyle dependency from 8.1 to the latest version 10.21.1
- This is needed in particular for Java 21 support, see releasenotes:
  https://checkstyle.sourceforge.io/releasenotes.html#Release_10.18.0
- We need to bump to JDK 11 since the new version of checkstyle
  requires it: checkstyle/checkstyle#9146.
- Migrate checkstyle xml to remove deprecated properties and add new
  modules, see:
  - checkstyle/checkstyle#7096
  - checkstyle/checkstyle#6703
- Made TestFile.java public to trigger the missing javadoc warnings.
- Bump CodeNarc from 1.4 to 3.5.0 due to class loading issues on JDK 11.
- This means we also need to bump groovy to 3.0.9.
@Jimver
Copy link
Author

Jimver commented Dec 30, 2024

This PR depends on #259, as checkstyle also uses saxon net.sf.saxon:Saxon-HE:12.5 like PMD/SpotBugs. Decided to split it up for better readability and to split off the JDK 11 bump into a smaller PR.

@Jimver Jimver marked this pull request as ready for review December 30, 2024 14:56
@Jimver
Copy link
Author

Jimver commented Dec 30, 2024

Fixes #262

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant