Răsfoiți Sursa

Use Checkstyle.configDirectory

Checkstyle.configDir is deprecated in favor of Checkstyle.configDirectory

Closes gh-9545
Rob Winch 4 ani în urmă
părinte
comite
b67d2e0e4b

+ 1 - 1
buildSrc/src/main/groovy/io/spring/gradle/convention/CheckstylePlugin.groovy

@@ -39,7 +39,7 @@ class CheckstylePlugin implements Plugin<Project> {
 				project.dependencies.add('checkstyle', 'io.spring.nohttp:nohttp-checkstyle:0.0.3.RELEASE')
 
 				project.checkstyle {
-					configDir = checkstyleDir
+					configDirectory = checkstyleDir
 					toolVersion = '8.21'
 				}
 			}