google / ksp

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

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

Open SimonMarquis opened 7 months ago

SimonMarquis commented 7 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 6 months 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.