From f3303ce3592c52ec4006f676cd1ab534628a275c Mon Sep 17 00:00:00 2001 From: David Karnok Date: Mon, 16 Nov 2026 10:17:55 +0100 Subject: [PATCH] Disable Checkstyle task for JDK 28 Temporarily disable Checkstyle task based on JDK version. --- build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.gradle b/build.gradle index 5478ab066c..e8fe45135b 100644 --- a/build.gradle +++ b/build.gradle @@ -283,6 +283,11 @@ checkstyle { checkstyleMain.exclude '**/module-info.java' } +// TODO, reenable once Gradle/Checkstyle fixes the incompatibility +tasks.withType(Checkstyle).configureEach { + enabled = toolchainJdk != "28" +} + if (project.hasProperty("releaseMode")) { logger.lifecycle("ReleaseMode: {}", project.releaseMode)