From c80e34fdc5a1fe666db3e7896b5d0239f84b0254 Mon Sep 17 00:00:00 2001 From: Manuel Fuhr Date: Sat, 9 Jul 2022 07:38:04 +0200 Subject: [PATCH] Add checkstyle --- build.gradle | 2 ++ config/checkstyle/checkstyle.xml | 16 ++++++++++++++++ config/checkstyle/suppressions.xml | 8 ++++++++ 3 files changed, 26 insertions(+) create mode 100644 config/checkstyle/checkstyle.xml create mode 100644 config/checkstyle/suppressions.xml diff --git a/build.gradle b/build.gradle index 3e0f897..f4571ba 100644 --- a/build.gradle +++ b/build.gradle @@ -45,6 +45,8 @@ allprojects { gpr(MavenPublication) } } + + apply plugin: "checkstyle" } task clean(type: Delete) { diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml new file mode 100644 index 0000000..5eb174f --- /dev/null +++ b/config/checkstyle/checkstyle.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + diff --git a/config/checkstyle/suppressions.xml b/config/checkstyle/suppressions.xml new file mode 100644 index 0000000..0755c89 --- /dev/null +++ b/config/checkstyle/suppressions.xml @@ -0,0 +1,8 @@ + + + + + +