浏览代码

Use Checkstyle.configDirectory

Checkstyle.configDir is deprecated in favor of Checkstyle.configDirectory

Closes gh-9545
Rob Winch 4 年之前
父节点
当前提交
b67d2e0e4b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      buildSrc/src/main/groovy/io/spring/gradle/convention/CheckstylePlugin.groovy

+ 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'
 				}
 			}