mars885/hilt-binder

Support for Kotlin 1.9.0

Sardorbekcyber opened this issue · 7 comments

After updating Kotlin from "1.8.22" to "1.9.0" and
KSP "1.8.22-1.0.11" to "1.9.0-1.0.11" all bindings failing

Error Hilt is giving is you need to annotate with @provides or @BINDS

@mars885 any update here?

Yes, I'm going to release a new version soon that fixes this issue. Stay tuned.

Same issue here; we will be grateful if you release the new version as soon as possible.

Yes, I'm going to release a new version soon that fixes this issue. Stay tuned.

Seriously, have you any plans for this migration? :D

Is this still relevant?

I'm in a process of updating dependencies (see #49) and releasing a new version for the Kotlin 1.9.24. However, I haven't done any fixes to get the lib working again. The only issue I found is that some versions of the Hilt was giving me compatibility problems where my bindings did not work. I just followed this thread on StackOverflow and resolved the issue by upgrading Hilt to the 2.48.

As a side note, I've released 1.1.3 version of the lib that works well with Kotlin 1.9.* versions. Let me know if that helps.

Going to close in the meantime. Feel free to reopen.