From b67d2e0e4b772dbb858f5b212248baa497bf9be4 Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Sun, 4 Apr 2021 23:41:43 -0500 Subject: [PATCH] Use Checkstyle.configDirectory Checkstyle.configDir is deprecated in favor of Checkstyle.configDirectory Closes gh-9545 --- .../groovy/io/spring/gradle/convention/CheckstylePlugin.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildSrc/src/main/groovy/io/spring/gradle/convention/CheckstylePlugin.groovy b/buildSrc/src/main/groovy/io/spring/gradle/convention/CheckstylePlugin.groovy index 1bfbbecbdf..53a32a83c0 100644 --- a/buildSrc/src/main/groovy/io/spring/gradle/convention/CheckstylePlugin.groovy +++ b/buildSrc/src/main/groovy/io/spring/gradle/convention/CheckstylePlugin.groovy @@ -39,7 +39,7 @@ class CheckstylePlugin implements Plugin { project.dependencies.add('checkstyle', 'io.spring.nohttp:nohttp-checkstyle:0.0.3.RELEASE') project.checkstyle { - configDir = checkstyleDir + configDirectory = checkstyleDir toolVersion = '8.21' } }