|
| 1 | +### [4.8.0](http://xvik.github.io/gradle-quality-plugin/4.8.0) (2022-07-02) |
| 2 | +* Update checkstyle 9.1 -> 10.3.1 |
| 3 | + IMPORTANT: Checkstyle 10 requires java 11, but plugin will automatically switch to |
| 4 | + [backports](https://checkstyle.org/#Backport) for lower jre. |
| 5 | + Additional maven repository would be registered if required (LIMITED to checkstyle only) |
| 6 | + Warning in log would clearly indicate when backport is used |
| 7 | +* New option: quality.checkstyleBackport (by default true for jre < 11) |
| 8 | + Option might be used to force backport for java >=11 or to disable backport at all |
| 9 | +* Update checkstyle config: |
| 10 | + - Add [UnusedLocalVariable](https://checkstyle.sourceforge.io/config_coding.html#UnusedLocalVariable) |
| 11 | + - Change [MultipleStringLiterals](https://checkstyle.org/config_coding.html#MultipleStringLiterals) |
| 12 | + to react on strings more than 2 chars only and allow 2 duplicates (to avoid warning in trivial cases) |
| 13 | +* Update pmd 6.34 -> 6.47 (java 17-18 support) |
| 14 | +* Update pmd config: |
| 15 | + - Disable [AvoidAccessibilityAlteration](https://pmd.github.io/pmd-6.47.0/pmd_rules_java_errorprone.html#avoidaccessibilityalteration) |
| 16 | + - Change [CognitiveComplexity](https://pmd.github.io/pmd-6.47.0/pmd_rules_java_design.html#cognitivecomplexity) reportLevel to 21 (default 15) |
| 17 | + - Disable [ReturnEmptyArrayRatherThanNull](https://pmd.github.io/pmd-6.47.0/pmd_rules_java_errorprone.html#returnemptyarrayratherthannull) as deprecated |
| 18 | +* Update codenarc 2.2.0 -> 3.1.0 (groovy 4 support) |
| 19 | +* New option: quality.codenarcGroovy4 (by default, true) |
| 20 | + Since codenarc 3.1 separate groovy4-based codenarc jar produced (codenarc-groovy4) |
| 21 | + It would be used by default because groovy 4 has better adoption for newer JDKs |
| 22 | + (codenarc task started with its own groovy so it does not restrict gradle version) |
| 23 | + If you need to use older codenarc version then switch this option off manually |
| 24 | +* Update spotbugs 4.4.2 -> 4.7.1 |
| 25 | +* Update spotbugs plugin 4.7.9 -> 4.8.0 |
| 26 | + |
1 | 27 | ### [4.7.0](http://xvik.github.io/gradle-quality-plugin/4.7.0) (2021-11-10) |
2 | 28 | * Fix gradle 7 deprecation warnings (#30) |
3 | 29 | * Update spotbugs plugin 4.7.1 -> 4.7.9 |
|
0 commit comments