Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
[ID: 558956]
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
In AGP 7.0 alphas, lint isn't analyzing test sources, which is a regression from AGP 4.2.
Repro steps:
build.gradle
:// STOPSHIP
to a test source file (unit test or android test)./gradlew :app:lintRelease
Expected behavior: the build should fail (happens for AGP 4.2-betas)
Actual behavior: the build succeeds for AGP 7.0 alphas
See FIXME here