I have a renamed class and dagger keeps generating a factory for the old file name and therefore destroys my build
r
russellkim
01/21/2018, 5:26 AM
Which kotlin version are you using? We've faced same issue with 1.2.20-eap-71. it can be related to buildCache implementation. We fixed it by changing constructor injection to provide method. But it's definitely some kapt issue. So far not able to reproduce with sample project. @yan is it known issue?
y
yan
01/21/2018, 11:53 AM
No, I haven’t heard about this yet.
p
Paul Woitaschek
01/21/2018, 12:51 PM
1.2.20. I disabled the build cache and now it works, thanks 🙂
y
yan
01/22/2018, 2:28 PM
@h0tk3y ^^
h
h0tk3y
01/22/2018, 5:24 PM
Got it, will take a look and try to reproduce some time soon. A sample project could really help here.