From 1b9a1cb6c6d0a1b06646450dfd48bfb21b7d05e2 Mon Sep 17 00:00:00 2001 From: Khushboo Rajput Date: Mon, 10 Jul 2023 16:01:12 -0700 Subject: [PATCH] [CVE-2023-2976] Upgrade Checkstyle version from 9.3 to 10.12.1 Signed-off-by: Khushboo Rajput --- build.gradle | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index ee0ea253..ec0f84c5 100644 --- a/build.gradle +++ b/build.gradle @@ -58,7 +58,7 @@ plugins { } checkstyle { - toolVersion = '10.3.3' + toolVersion = '10.12.1' configFile file("checkstyle/checkstyle.xml") } @@ -299,9 +299,6 @@ dependencies { } } - implementation("com.google.guava:guava:${guavaVersion}") { - force = 'true' - } implementation 'org.jooq:jooq:3.10.8' implementation 'org.apache.commons:commons-lang3:3.9' implementation 'org.bouncycastle:bcprov-jdk15to18:1.74' @@ -312,6 +309,11 @@ dependencies { implementation "com.fasterxml.jackson.module:jackson-module-paranamer:${jacksonVersion}" implementation(group: 'org.apache.logging.log4j', name: 'log4j-api', version: "${log4jVersion}") implementation(group: 'org.apache.logging.log4j', name: 'log4j-core', version: "${log4jVersion}") + implementation("com.google.guava:guava:${guavaVersion}") { + version { + strictly "${guavaVersion}" + } + } implementation(group: 'com.google.errorprone', name: 'error_prone_annotations') { version { strictly "2.9.0"