Skip to content

Commit 7f592a6

Browse files
committed
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}.
1 parent c21f117 commit 7f592a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ subprojects {
7979
// configuration of the linter
8080
checkstyle {
8181
toolVersion '10.7.0'
82-
configFile file("checkstyle.xml")
82+
configFile file("$rootDir/checkstyle.xml")
8383
sourceSets = [project.sourceSets.main, project.sourceSets.test]
8484
}
8585

0 commit comments

Comments
 (0)