Make sure Konsist tests always run (#1590)

* Make sure Konsist tests always run

* Update tests/konsist/build.gradle.kts

Co-authored-by: Benoit Marty <benoit@matrix.org>

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
This commit is contained in:
Jorge Martin Espinosa 2023-10-18 11:41:47 +02:00 committed by GitHub
parent c4bbc4ef3d
commit e5a8fd9635
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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<Test>().configureEach {
outputs.upToDateWhen { false }
}