square / anvil

A Kotlin compiler plugin to make dependency injection with Dagger 2 easier.
Apache License 2.0
1.31k stars 82 forks source link

Anvil Gradle plugin causes tasks of type KaptGenerateStubsTask to be configured eagerly #1053

Open bmuschko opened 1 month ago

bmuschko commented 1 month ago

When running a build that applies the plugin, the tasks of type KaptGenerateStubsTask are configured eagerly during Gradle's configuration time. The tasks should be configured lazily. You can surface the issue by generating a build scan which renders the issue under "Performance > Configuration".

These are my dependencies:

bmuschko commented 9 hours ago

Is anyone planning to look into this issue?