I see some warnings that don’t feel clear to me, does anyone know what could trigger such warnings?
Copy code
warning: The following options were not recognized by any processor: '[dagger.fastInit, kapt.kotlin.generated]'
The following options were not recognized by any processor: '[dagger.fastInit, kapt.kotlin.generated]'
These warnings only affect very few modules
v
Vampire
01/13/2021, 5:07 PM
The warnings are pretty clear, aren't they?
You specify annotation processor options without using any annotation processor that supports them.
This usually is a sing of error, because why should you specify an option that noone is using.
But it could also be valid by just setting the option everywhere but only using the annotation processor sometimes, so it is a warning, not an error.
Vampire
01/13/2021, 5:07 PM
If you want to get rid of the warnings, only set the options where you also have the annotation processor in place
s
samuel
01/13/2021, 5:12 PM
in this case
fastInit
is intended to be used by dagger as an optimization, all the modules make use of dagger, which makes it more confusing because some complain, but most do not
v
Vampire
01/13/2021, 5:14 PM
Well, then you should probably really investigate why the annotation processor seems not to be working, that's exactly why the warning is there 🙂
s
samuel
01/13/2021, 5:17 PM
i got my work cut out for me 😅
samuel
01/13/2021, 6:02 PM
after doing some digging, i realized those modules enabled dagger but didn’t actually use any dagger annotations, disabled dagger and the compile options and things are all good, thanks for your great detailed explanation, makes total sense now 🙏 😃