Skip to content

Slow incremental builds on AGP 9 #5122

@themlkang42

Description

@themlkang42

I upgraded my project to AGP 9 and hilt version 2.59.1

I have seen incremental build times more than doubled. When I check the build using the build analyzer I am seeing a new task :app:hiltSyncDebug take a significant amount of time. This task was not there when I revert back to an older AGP and hilt version.

Task details:

Sub-project: :app
Plugin: com.android.application
Type: dagger.hilt.android.plugin.task.HiltSyncTask
Task Execution Categories: Uncategorized

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions