mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-07-13 17:23:56 +01:00
Check instrumentation compilation in qa task.
This commit is contained in:
committed by
Alex Hart
parent
7c147982c4
commit
5d207932c9
@@ -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) }
|
||||
|
||||
Reference in New Issue
Block a user