From c3341726171cf2d755a18ec5df2401a20c230a2c Mon Sep 17 00:00:00 2001 From: Stephen Crawford <65832608+scrawfor99@users.noreply.github.com> Date: Thu, 6 Jul 2023 10:22:13 -0400 Subject: [PATCH] Force 32... (#2937) Signed-off-by: Stephen Crawford (cherry picked from commit 8ab7cb4ec7e2fea25fbcf411c24dd16242d25594) Signed-off-by: Darshit Chanpura --- build.gradle | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index e03df0f820..dc3ac0704a 100644 --- a/build.gradle +++ b/build.gradle @@ -281,6 +281,7 @@ configurations.all { force "org.apache.bcel:bcel:6.6.0" // This line should be removed once Spotbugs is upgraded to 4.7.4 force "com.github.luben:zstd-jni:${versions.zstd}" force "org.xerial.snappy:snappy-java:1.1.10.1" + force 'com.google.guava:guava:32.0.1-jre' } } @@ -289,7 +290,7 @@ dependencies { implementation "org.opensearch.client:opensearch-rest-high-level-client:${opensearch_version}" implementation 'com.google.guava:guava:32.0.1-jre' implementation 'org.greenrobot:eventbus:3.2.0' - implementation 'commons-cli:commons-cli:1.3.1' + implementation 'commons-cli:commons-cli:1.5.0' implementation "org.bouncycastle:bcprov-jdk15to18:${versions.bouncycastle}" implementation 'org.ldaptive:ldaptive:1.2.3' implementation "org.apache.httpcomponents:httpclient-cache:${versions.httpclient}" @@ -413,6 +414,14 @@ dependencies { implementation "com.fasterxml.jackson.core:jackson-databind:${versions.jackson_databind}" compileOnly "org.opensearch:opensearch:${opensearch_version}" + + //Checkstyle + checkstyle 'com.puppycrawl.tools:checkstyle:10.12.1' + + //spotless + implementation('com.google.googlejavaformat:google-java-format:1.17.0') { + exclude group: 'com.google.guava' + } } jar {