Set the whole configDir instead of only configFile for checkstyle

This commit is contained in:
XiangRongLin 2021-03-15 19:21:53 +01:00
parent 80fb351ad3
commit 985308bf0c
2 changed files with 2 additions and 3 deletions

View file

@ -111,7 +111,7 @@ configurations {
}
checkstyle {
configFile rootProject.file('checkstyle.xml')
configDir rootProject.file(".")
ignoreFailures false
showViolations true
toolVersion = checkstyleVersion