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:
parent
ef5326ff72
commit
7e2852bd47
1 changed files with 7 additions and 0 deletions
|
|
@ -32,3 +32,10 @@ dependencies {
|
||||||
testImplementation(projects.libraries.architecture)
|
testImplementation(projects.libraries.architecture)
|
||||||
testImplementation(projects.libraries.designsystem)
|
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 }
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue