From 9628696a9fe05306ef1a765908f25ff70799c77d Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Tue, 26 Nov 2024 10:29:54 +0100 Subject: [PATCH] Exclude non-prod code from quality checks. --- build.gradle.kts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 187b09de54..31edb5b08c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -52,6 +52,10 @@ allprojects { detektPlugins("io.nlopez.compose.rules:detekt:0.4.19") } + tasks.withType().configureEach { + exclude("io/element/android/tests/konsist/failures/**") + } + // KtLint apply { plugin("org.jlleitschuh.gradle.ktlint") @@ -75,6 +79,7 @@ allprojects { val generatedPath = "${layout.buildDirectory.asFile.get()}/generated/" filter { exclude { element -> element.file.path.contains(generatedPath) } + exclude("io/element/android/tests/konsist/failures/**") } } // Dependency check