From 898c731fcc246ea5d8ab45230e071b4fa7ba3cd0 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 19 Apr 2018 16:19:21 +0200 Subject: [PATCH] don't run checkstyle or pmd on zipsigner, the format is too different If someone wants to clean this up, feel free... --- app/build.gradle | 1 + config/checkstyle/checkstyle.xml | 3 +++ config/checkstyle/suppressions.xml | 7 +++++++ 3 files changed, 11 insertions(+) create mode 100644 config/checkstyle/suppressions.xml diff --git a/app/build.gradle b/app/build.gradle index eae44a678..69755b51f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -259,6 +259,7 @@ task pmdMain(type: Pmd) { ruleSets = [] // otherwise defaults clash with the list in rules.xml source 'src/main/java' include '**/*.java' + exclude '**/kellinwood/**/*.java' } task pmdTest(type: Pmd) { diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml index 3046bc923..27d6f2408 100644 --- a/config/checkstyle/checkstyle.xml +++ b/config/checkstyle/checkstyle.xml @@ -142,4 +142,7 @@ + + + diff --git a/config/checkstyle/suppressions.xml b/config/checkstyle/suppressions.xml new file mode 100644 index 000000000..7a5d76323 --- /dev/null +++ b/config/checkstyle/suppressions.xml @@ -0,0 +1,7 @@ + + + + +