Skip to content

No dependencies reported for generated source after 2.53 and Kotlin 2.1.0 update #4526

@G00fY2

Description

@G00fY2

After we updated to Dagger 2.53 and Kotlin 2.1.0 we now see a lot of similar warnings already reported in the past: #4182.

There is also already a new bug in the issue tracker: https://issuetracker.google.com/issues/381887333

Since we did not see any errors with Kotlin 2.0.21 and Dagger 2.52 I think this is not caused by our dependency or project setup.

This warning is shown only for every androidx.lifecycle.ViewModel and no other classes in our project:

w: [ksp] No dependencies reported for generated source

MyViewModel_HiltModules_KeyModule_Provide_LazyMapKey.java which willprevent incremental compilation.

MyViewModel_ViewModel_HiltModules_BindsModule_Binds_LazyMapKey.java which willprevent incremental compilation.
  • AGP: 8.7.3
  • Gradle: 8.11.1
  • Dagger: 2.53
  • Kotlin: 2.1.0
  • AndroidX lifecycle-viewmodel-ktx 2.8.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions