diff --git a/build.gradle b/build.gradle index 66caf8db..8da34d26 100644 --- a/build.gradle +++ b/build.gradle @@ -256,7 +256,7 @@ subprojects { subproject -> } checkstyle { - configFile = file("${rootDir}/src/checkstyle/checkstyle.xml") + configDirectory.set(rootProject.file("src/checkstyle")) toolVersion = '8.24' } diff --git a/src/checkstyle/checkstyle.xml b/src/checkstyle/checkstyle.xml index f716676f..59662a38 100644 --- a/src/checkstyle/checkstyle.xml +++ b/src/checkstyle/checkstyle.xml @@ -5,12 +5,12 @@ - + - +