google / ksp

Kotlin Symbol Processing API
https://github.com/google/ksp
Apache License 2.0
2.72k stars 255 forks source link

[KSP2] Hilt incompatibility: `Did you forget to apply the Gradle Plugin?` #1841

Open SimonMarquis opened 2 months ago

SimonMarquis commented 2 months ago

KSP tasks are failing because of a Hilt error when building with Kotlin 2.0.0-RC1 and KSP2 enabled:

ting-yuan commented 1 month ago

@SimonMarquis Could you file the bug to Hilt and let them identify which part of KSP API is wrong first? We have very little knowledge of what those error messages mean and how they are thrown.