From d311553de7212e2f4b46e719e924028b405b96df Mon Sep 17 00:00:00 2001 From: Lars Simon Winzer Date: Fri, 13 Mar 2026 22:34:41 +0100 Subject: [PATCH] Add: Suppressions config for tests --- build.gradle | 4 ++++ config/checkstyle/checkstyle.xml | 9 +++++++-- config/checkstyle/suppressions.xml | 24 ++++++++++++++++++++++++ 3 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 config/checkstyle/suppressions.xml diff --git a/build.gradle b/build.gradle index 597dec4..9091ade 100644 --- a/build.gradle +++ b/build.gradle @@ -46,6 +46,10 @@ test { checkstyle { toolVersion = '10.21.0' + configFile = file('config/checkstyle/checkstyle.xml') + configProperties = [ + 'suppressionFile': file('config/checkstyle/suppressions.xml').absolutePath + ] } tasks.named('jar', Jar) { diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml index 59645dd..0737055 100644 --- a/config/checkstyle/checkstyle.xml +++ b/config/checkstyle/checkstyle.xml @@ -12,6 +12,10 @@ + + + + @@ -141,9 +145,10 @@ + - + @@ -159,7 +164,7 @@ - + diff --git a/config/checkstyle/suppressions.xml b/config/checkstyle/suppressions.xml new file mode 100644 index 0000000..d532e42 --- /dev/null +++ b/config/checkstyle/suppressions.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + +