From 240f5a0549e71769115728c3a702f5464d593dfe Mon Sep 17 00:00:00 2001 From: cketti Date: Thu, 24 Oct 2024 13:38:16 +0200 Subject: [PATCH] Exclude build directories in `SpotlessExtension.configureMiscCheck()` --- build-plugin/src/main/kotlin/SpotlessExtension.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build-plugin/src/main/kotlin/SpotlessExtension.kt b/build-plugin/src/main/kotlin/SpotlessExtension.kt index 28d8c780f50..41b85176f92 100644 --- a/build-plugin/src/main/kotlin/SpotlessExtension.kt +++ b/build-plugin/src/main/kotlin/SpotlessExtension.kt @@ -54,6 +54,9 @@ fun SpotlessExtension.configureMiscCheck() { "*.gradle", ".gitignore", ) + targetExclude( + "**/build/", + ) trimTrailingWhitespace() } }