Skip to content

Commit c028204

Browse files
committed
pref(ci): don't build 'Play' for lint
We run `lintVitalFullRelease`... so depending on `lintPlayDebug` means both Play and Full are compiled Assisted-by: Claude Opus 4.7 - confirmation of correctness
1 parent 6c5a847 commit c028204

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

build.gradle.kts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,13 @@ subprojects {
135135
}
136136
}
137137

138-
// Opt all modules in to lint (with :AnkiDroid pinned to one flavor: 'Play')
138+
// Opt all modules in to lint (with :AnkiDroid pinned to one flavor: 'Full')
139139
val lintAll = tasks.register("lintAll") {
140140
group = "verification"
141141
description = "Runs lint on every module."
142-
dependsOn(":AnkiDroid:lintPlayDebug") // specify 'Play' explicitly so other flavors don't run
142+
// specify 'Full' explicitly so other flavors don't run
143+
// 'full' has no Manifest changes, so catches more unused references (#15741)
144+
dependsOn(":AnkiDroid:lintFullDebug")
143145
}
144146

145147
subprojects {

0 commit comments

Comments
 (0)