From e5a8fd9635e067cb89df5bd6e259cca58ec04d90 Mon Sep 17 00:00:00 2001 From: Jorge Martin Espinosa Date: Wed, 18 Oct 2023 11:41:47 +0200 Subject: [PATCH] Make sure Konsist tests always run (#1590) * Make sure Konsist tests always run * Update tests/konsist/build.gradle.kts Co-authored-by: Benoit Marty --------- Co-authored-by: Benoit Marty --- tests/konsist/build.gradle.kts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/konsist/build.gradle.kts b/tests/konsist/build.gradle.kts index ca009bd89f..6658c0c5e0 100644 --- a/tests/konsist/build.gradle.kts +++ b/tests/konsist/build.gradle.kts @@ -32,3 +32,10 @@ dependencies { testImplementation(projects.libraries.architecture) testImplementation(projects.libraries.designsystem) } + +// Make sure Konsist tests are always run. This is needed because otherwise we'd have to either: +// - Add every single module as a dependency of this one. +// - Move the Konsist tests to the `app` module, but the `app` module does not need to know about Konsist. +tasks.withType().configureEach { + outputs.upToDateWhen { false } +}