From 2111e62ad0176765acf1f6414885ee13dd8ee81a Mon Sep 17 00:00:00 2001 From: Josephine Rueckert Date: Sun, 14 Jul 2024 14:07:59 +0200 Subject: [PATCH] chore: add Checksyle and Pmd gradle tasks to verification group - allows them to show up in `gradlew tasks` without specifying `-all` - also corrected formatting --- build-logic/src/main/kotlin/terasology-metrics.gradle.kts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/build-logic/src/main/kotlin/terasology-metrics.gradle.kts b/build-logic/src/main/kotlin/terasology-metrics.gradle.kts index e7df6591ec0..d542cd0cef5 100644 --- a/build-logic/src/main/kotlin/terasology-metrics.gradle.kts +++ b/build-logic/src/main/kotlin/terasology-metrics.gradle.kts @@ -68,13 +68,14 @@ tasks.withType { } } - tasks.withType { - //FIXME: This is a workaround for module harness builds, where the config +tasks.withType { + //FIXME: This is a workaround for module harness builds, where the config // files are part of the harness but the task is not defined. if (rootProject.name == "Terasology") { dependsOn(tasks.getByPath(":extractConfig")) } - } + group = "verification" +} tasks.withType { //FIXME: This is a workaround for module harness builds, where the config @@ -82,6 +83,7 @@ tasks.withType { if (rootProject.name == "Terasology") { dependsOn(tasks.getByPath(":extractConfig")) } + group = "verification" } tasks.withType {