From 7f592a62b5a2d43555a0a9d38cb2a9847b11b3c8 Mon Sep 17 00:00:00 2001 From: Kah Goh Date: Wed, 17 Dec 2025 19:22:34 +0800 Subject: [PATCH] Update Checkstyle in Gradle build Fixes the following failing CI error to recent Gradle upgrade. * What went wrong: Execution failed for task ':practice:zipper:checkstyleTest'. > A failure occurred while executing org.gradle.api.plugins.quality.internal.CheckstyleAction > An unexpected error occurred configuring and executing Checkstyle. > Unable to create Root Module: config {/home/runner/work/java/java/exercises/practice/zipper/checkstyle.xml}. --- exercises/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/build.gradle b/exercises/build.gradle index 734815214..c35dc4fc1 100644 --- a/exercises/build.gradle +++ b/exercises/build.gradle @@ -79,7 +79,7 @@ subprojects { // configuration of the linter checkstyle { toolVersion '10.7.0' - configFile file("checkstyle.xml") + configFile file("$rootDir/checkstyle.xml") sourceSets = [project.sourceSets.main, project.sourceSets.test] }