Check instrumentation compilation in qa task.

This commit is contained in:
Greyson Parrelli
2026-04-20 16:24:05 -04:00
committed by Alex Hart
parent 7c147982c4
commit 5d207932c9
+4
View File
@@ -81,6 +81,7 @@ tasks.register("qa") {
gradle.projectsEvaluated {
val appTestTask = tasks.findByPath(":Signal-Android:testPlayProdReleaseUnitTest")
val appLintTask = tasks.findByPath(":Signal-Android:lintPlayProdRelease")
val appCompileInstrumentationTask = tasks.findByPath(":Signal-Android:compilePlayProdInstrumentationAndroidTestSources")
tasks.named("qa") {
dependsOn("ktlintCheck")
@@ -91,6 +92,9 @@ gradle.projectsEvaluated {
appTestTask?.let { dependsOn(it) }
appLintTask?.let { dependsOn(it) }
// Instrumentation
appCompileInstrumentationTask?.let { dependsOn(it) }
// All subproject ktlint checks
subprojects.forEach { subproject ->
subproject.tasks.findByName("ktlintCheck")?.let { dependsOn(it) }