From 7fc250f15d93eae7cc4eceb0a7ea323feba0c5ed Mon Sep 17 00:00:00 2001 From: lorenz <stu203404@mail.uni-kiel.de> Date: Wed, 13 Apr 2022 16:11:24 +0200 Subject: [PATCH] Exclude source-gen from code style plugins --- theodolite-benchmarks/commons/build.gradle | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/theodolite-benchmarks/commons/build.gradle b/theodolite-benchmarks/commons/build.gradle index 2eabcaf6a..5c663fb68 100644 --- a/theodolite-benchmarks/commons/build.gradle +++ b/theodolite-benchmarks/commons/build.gradle @@ -77,4 +77,13 @@ task ("generateAvroJava", type: com.github.davidmc24.gradle.plugin.avro.Generate outputDir = file("src-gen/main/java") } +tasks.withType(Checkstyle) { + source = fileTree('src/main/java') +} + +tasks.withType(Pmd) { + exclude '**/commons/src-gen/.*' +} + + -- GitLab