From d83823957335a0b44af5779bdeac07c47221009e Mon Sep 17 00:00:00 2001 From: Arpit-Bandejiya Date: Thu, 7 Sep 2023 14:26:04 +0530 Subject: [PATCH] Upgrade Guava version (#347) Signed-off-by: Arpit Bandejiya (cherry picked from commit 2d8a5897d2bdaed060f266940286147d1116baa4) --- build.gradle | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 1f62fd3c..5f083c16 100644 --- a/build.gradle +++ b/build.gradle @@ -60,8 +60,8 @@ apply plugin: 'opensearch.rest-test' checkstyle { - toolVersion = '8.29' - configFile file("checkstyle/checkstyle.xml") + toolVersion "10.3.3" + configDirectory.set(rootProject.file("checkstyle/")) } def usingRemoteCluster = System.properties.containsKey('tests.rest.cluster') || System.properties.containsKey('tests.cluster') @@ -99,7 +99,8 @@ dependencies { compile "org.opensearch:common-utils:${common_utils_version}" configurations.all { resolutionStrategy { - force "com.puppycrawl.tools:checkstyle:${project.checkstyle.toolVersion}" + force "com.google.guava:guava:32.0.1-jre" + force "com.puppycrawl.tools:checkstyle:10.12.1" } } }