From 067e146a9b201dfbcb4aec378b46c8f69c4fb4bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20S=C3=A4ume?= Date: Thu, 19 Sep 2024 21:53:57 +0200 Subject: [PATCH] PMT-3: Update Linter to Ignore new Type of Boilerplate code --- build.gradle.kts | 1 + src/main/resources/checkstyle-ignore.xml | 9 +++++++++ src/main/resources/checkstyle.xml | 4 ++++ src/main/resources/gen-config.json | 1 - 4 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/checkstyle-ignore.xml diff --git a/build.gradle.kts b/build.gradle.kts index 37e7e47..f3730f2 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -18,6 +18,7 @@ plugins { checkstyle { toolVersion = "10.12.4" + configDirectory = file("src/main/resources/") configFile = file("src/main/resources/checkstyle.xml") } diff --git a/src/main/resources/checkstyle-ignore.xml b/src/main/resources/checkstyle-ignore.xml new file mode 100644 index 0000000..392fd6e --- /dev/null +++ b/src/main/resources/checkstyle-ignore.xml @@ -0,0 +1,9 @@ + + + + + + diff --git a/src/main/resources/checkstyle.xml b/src/main/resources/checkstyle.xml index ac18ae8..611b446 100644 --- a/src/main/resources/checkstyle.xml +++ b/src/main/resources/checkstyle.xml @@ -4,6 +4,10 @@ "https://checkstyle.org/dtds/configuration_1_3.dtd" > + + + + diff --git a/src/main/resources/gen-config.json b/src/main/resources/gen-config.json index 3263eeb..a87080c 100644 --- a/src/main/resources/gen-config.json +++ b/src/main/resources/gen-config.json @@ -7,7 +7,6 @@ "dateLibrary": "java11", "library": "spring-boot3", "defaultInterfaces": false, - "hideGenerationTimestamp": true, "serializableModel": true }