File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -177,6 +177,7 @@ You can run checkstyle using:
177177
178178The checkstyle warnings will be found in ` reports/checkstyle/reports/main.html ` and ` reports/checkstyle/reports/test.html ` files in the
179179subproject build directories. They are also printed to the console. The build will fail if Checkstyle fails.
180+ For experiments (or regression testing purposes) add ` -PcheckstyleVersion=X.y.z ` switch (to override project-defined checkstyle version).
180181
181182#### Spotless ####
182183The import order is a part of static check. please call ` spotlessApply ` to optimize the imports of Java codes before filing pull request.
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ versions += [
6161 // when updating checkstyle, check whether the exclusion of
6262 // CVE-2023-2976 and CVE-2020-8908 can be dropped from
6363 // gradle/resources/dependencycheck-suppressions.xml
64- checkstyle : " 8.36.2" ,
64+ checkstyle : project . hasProperty( ' checkstyleVersion ' ) ? checkstyleVersion : " 8.36.2" ,
6565 commonsCli : " 1.4" ,
6666 commonsIo : " 2.14.0" , // ZooKeeper dependency. Do not use, this is going away.
6767 commonsValidator : " 1.9.0" ,
You can’t perform that action at this time.
0 commit comments