sputnik
sputnik copied to clipboard
Bump checkstyle to 10.21.1 and CodeNarc to 3.5.0
- 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.
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.
Fixes #262