From a200d3eee8ab1acf5aea1152d83f00b824e965d1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 13 Jan 2025 04:07:03 +0000 Subject: [PATCH] Use latest version of checkstyle to avoid Guava CVE (#36) Signed-off-by: Daniel Widdis (cherry picked from commit 03d80180108a057ecb052348f4936238de4bdc1d) Signed-off-by: github-actions[bot] --- build.gradle | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 715556e..c2e0a14 100644 --- a/build.gradle +++ b/build.gradle @@ -42,6 +42,14 @@ buildscript { } } +plugins { + id 'checkstyle' +} + +checkstyle { + toolVersion = "latest.release" +} + allprojects { apply plugin: 'java' apply plugin: 'idea' @@ -49,7 +57,6 @@ allprojects { apply plugin: 'eclipse' apply plugin: 'jacoco' apply plugin: 'com.diffplug.spotless' - apply plugin: 'checkstyle' repositories { mavenLocal()