Skip to content

Commit 2f5e8ab

Browse files
committed
[Java] Upgrade to Checkstyle 10.18.0.
1 parent 0d13aea commit 2f5e8ab

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

build.gradle

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def toolchainLauncher = javaToolchains.launcherFor {
5454
languageVersion = JavaLanguageVersion.of(buildJavaVersion)
5555
}
5656

57-
def checkstyleVersion = '9.3'
57+
def checkstyleVersion = '10.18.0'
5858
def hamcrestVersion = '3.0'
5959
def mockitoVersion = '5.12.0'
6060
def junitVersion = '5.11.0'
@@ -163,6 +163,11 @@ allprojects {
163163
configurations.configureEach {
164164
resolutionStrategy {
165165
failOnVersionConflict()
166+
// patching conflicting Checkstyle dependencies
167+
force "org.codehaus.plexus:plexus-utils:3.3.0",
168+
"org.apache.commons:commons-lang3:3.8.1",
169+
"org.apache.httpcomponents:httpcore:4.4.14",
170+
"commons-codec:commons-codec:1.15"
166171
}
167172
}
168173

0 commit comments

Comments
 (0)