Closed ARTI1208 closed 9 months ago
Hi, @ARTI1208 , I just tried out Hilt in a KMP project but couldn't reproduce. Do you use @AndroidEntryPoint
? And if so can you confirm that Hilt Gradle Plugin is applied?
Yes, I use @AndroidEntryPoint
and plugin is applied (if it wasn't then how it could work with 2.46.1?)
I made a simple project ( similar to my actual one) with the error? please take a look https://github.com/ARTI1208/DaggerPluginFailRepro. You can return 2.46.1 in buildSrc/build.gradle.kts to test that it worked with that version
Hi, @ARTI1208 , thanks for the repro. This is indeed a regression in Hilt Gradle Plugin. We've submitted a fix and it will be included in the next Dagger release.
I've used dagger for DI in Android inside kotlin multplatform modules. However, updating dagger from 2.46.1 to versions 2.47 and later ones produces compile time errors
Expected @AndroidEntryPoint to have a value. Did you forget to apply the Gradle Plugin?
I didn't find any information related to this in release notes or any other place. Did dagger plugin dropped support for kmp modules?