Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions android/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,8 @@ val syncRoomSchemaSnapshot = tasks.register<Sync>("syncRoomSchemaSnapshot") {
// variant's KSP round writes byte-identical JSON. Depending on all of them would make a single
// `testFullDebugUnitTest` run four KSP rounds instead of one.
dependsOn(tasks.matching { it.name == "kspFullDebugKotlin" })
// Unit-test KSP can clear the snapshot after Sync has copied it; order Sync after those tasks.
mustRunAfter(tasks.matching { it.name.startsWith("ksp") && it.name.contains("UnitTest") })
}

tasks.withType<Test>().configureEach {
Expand Down