From c375bc8f1d384d0fc588ee871486902f76fabd06 Mon Sep 17 00:00:00 2001 From: Martin Sulikowski Date: Wed, 6 Mar 2024 21:46:16 +0100 Subject: [PATCH] Fix checkstyle. --- build.gradle.kts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 1ccaa1e..04ee29a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -28,6 +28,17 @@ checkstyle { maxWarnings = 0 } +// https://github.com/JabRef/jabref/pull/10812/files#diff-49a96e7eea8a94af862798a45174e6ac43eb4f8b4bd40759b5da63ba31ec3ef7R267 +configurations.named("checkstyle") { + resolutionStrategy { + capabilitiesResolution { + withCapability("com.google.collections:google-collections") { + select("com.google.guava:guava:33.0.0-jre") + } + } + } +} + dependencies { // JDA implementation("net.dv8tion:JDA:5.0.0-beta.20") {