Sfoglia il codice sorgente

Update checkstyle to latest 8.x release (#82186)

- Updates checkstyle to 8.45.1

- This was update was triggered by us running into checkstyle/checkstyle#9897 We do not update to latest 9.x release yet as we see a performance decrease when running precommit with this. likely related to checkstyle/checkstyle#10934
Rene Groeschke 3 anni fa
parent
commit
d84b875698

+ 1 - 1
build-conventions/build.gradle

@@ -65,7 +65,7 @@ dependencies {
     api 'org.apache.maven:maven-model:3.6.2'
     api 'gradle.plugin.com.github.jengelman.gradle.plugins:shadow:7.0.0'
     api 'org.apache.rat:apache-rat:0.11'
-    compileOnly "com.puppycrawl.tools:checkstyle:8.42"
+    compileOnly "com.puppycrawl.tools:checkstyle:8.45.1"
     api('com.diffplug.spotless:spotless-plugin-gradle:6.0.0') {
       exclude module: "groovy-xml"
     }

+ 1 - 1
build-tools-internal/version.properties

@@ -4,7 +4,7 @@ lucene            = 9.0.0
 bundled_jdk_vendor = adoptium
 bundled_jdk = 17.0.1+12
 
-checkstyle = 8.42
+checkstyle = 8.45.1
 
 # optional dependencies
 spatial4j         = 0.7