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 } +}