From 3249fe9e8cd90e9a28e42df776fd8a0c18df3b4e Mon Sep 17 00:00:00 2001 From: Owain van Brakel Date: Thu, 25 Jul 2019 06:16:30 +0200 Subject: [PATCH] gradle: checkstyle changes --- build.gradle | 2 + checkstyle.xml | 63 ------------------- checkstyle/checkstyle.xml | 2 +- .../suppressions.xml | 0 4 files changed, 3 insertions(+), 64 deletions(-) delete mode 100644 checkstyle.xml rename suppressions.xml => checkstyle/suppressions.xml (100%) 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