-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't add Hilt to a multiplatform project #4163
Comments
Hi, @mylesbennett , thanks for reporting. This looks similar to this one: #4130. Could you give the latest snapshot a try? |
Hi @kuanyingchou, Thanks for your quick reply. I tried the snapshot arrangement - still the same error. It's possible there was something lost in my translating the Groovy instructions to Kotlin DSL/ Version Catalogs. Here is my attempt: |
Hi, @mylesbennett , you also need to move Hilt to "HEAD-SNAPSHOT" in your |
Odd. The first time I attempted to move Hilt to "HEAD-SNAPSHOT", the build said it couldn't find the libraries. Anyhow, thanks, that seems fixed. I pushed the changes to that branch for anyone intrrested. What official version can I document that this will be fixed in (ie, when will it be released)? |
This was first raised here when I was trying to add Hilt to a multiplatform project using the traditional kapt annotation processor. I switched to the latest KSP arrangement and now have a new error on build:
Here is a repo demonstrating the problem.
The text was updated successfully, but these errors were encountered: