diff --git a/build.gradle b/build.gradle index 3b00fb21cb..004882169c 100644 --- a/build.gradle +++ b/build.gradle @@ -39,8 +39,10 @@ subprojects { toolVersion = '6.4.1' sourceSets = [sourceSets.main] configFile = rootProject.file("./checkstyle/checkstyle.xml") + configProperties = [ "suppressionFile" : rootProject.file("./checkstyle/suppressions.xml")] showViolations = true ignoreFailures = false + maxWarnings = 0 } } diff --git a/checkstyle.xml b/checkstyle.xml deleted file mode 100644 index c1935e18a2..0000000000 --- a/checkstyle.xml +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/checkstyle/checkstyle.xml b/checkstyle/checkstyle.xml index 0a0c65e31e..449e5ab7d9 100644 --- a/checkstyle/checkstyle.xml +++ b/checkstyle/checkstyle.xml @@ -58,6 +58,6 @@ - + diff --git a/suppressions.xml b/checkstyle/suppressions.xml similarity index 100% rename from suppressions.xml rename to checkstyle/suppressions.xml