From c65160ef9465531a605537049a1330f6e5b516fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolf-Martell=20Montw=C3=A9?= Date: Wed, 28 Feb 2024 14:45:48 +0100 Subject: [PATCH] Fix Spotless markdown by excluding build folders --- .../main/kotlin/thunderbird.quality.spotless.gradle.kts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build-plugin/src/main/kotlin/thunderbird.quality.spotless.gradle.kts b/build-plugin/src/main/kotlin/thunderbird.quality.spotless.gradle.kts index 4a41fee7a..8fe51c51b 100644 --- a/build-plugin/src/main/kotlin/thunderbird.quality.spotless.gradle.kts +++ b/build-plugin/src/main/kotlin/thunderbird.quality.spotless.gradle.kts @@ -10,7 +10,11 @@ configure { .setEditorConfigPath("$projectDir/.editorconfig") .editorConfigOverride(editorConfigOverride) target("**/*.kt") - targetExclude("**/build/", "**/resources/", "plugins/openpgp-api-lib/") + targetExclude( + "**/build/", + "**/resources/", + "plugins/openpgp-api-lib/", + ) } kotlinGradle { ktlint(libs.versions.ktlint.get()) @@ -25,6 +29,7 @@ configure { targetExclude( "plugins/openpgp-api-lib/", "app-k9mail/fastlane/README.md", + "**/build/", ) } format("misc") {