From 6baac3abf374ecf9c867f5a906a6f4ae13f05610 Mon Sep 17 00:00:00 2001 From: jmanrique Date: Thu, 19 Sep 2024 09:17:41 +0200 Subject: [PATCH] ANDROID-11179 excluding files beneath .gradle, build & tmp --- build-tools/detekt.gradle | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build-tools/detekt.gradle b/build-tools/detekt.gradle index d4b1b2906..82c87b352 100644 --- a/build-tools/detekt.gradle +++ b/build-tools/detekt.gradle @@ -3,4 +3,10 @@ detekt { buildUponDefaultConfig = true config = files("$projectDir/build-tools/detekt/detekt.yml") input = files("$projectDir") + + source.from(fileTree(rootProject.projectDir) { + exclude("**/.gradle/") + exclude("**/build/") + exclude("**/tmp/**") + }) }