Fixed
Status Update
Comments
[Deleted User] <[Deleted User]> #2
Lint only runs on this project, not its dependencies because we set checkDependencies = false
This is WAI after checkDependencies = false
is not WAI.
[Deleted User] <[Deleted User]> #3
This has been fixed with
Cherry-picking to the AGP 8.2 branch is currently blocked, so leaving this bug open until I'm able to cherry-pick the fix.
Description
GradleAnalyticsEnvironment is references by static field of com.android.tools.analytics.Environment across builds, which prevents GC from removing much of the Gradle state as ProviderFactory retains it.
We should make sure to clean up the state after the build finishes.