Dagger 2 using classes generated by another library
I have a homemade library that generates DataMapper classes.
They are generated with @Singleton and @Inject annotations to be able to inject them where i need them.
But where it doesn't work is when Dagger tries to create the dependency tree, this error shows :
datakaptGenerateStubsDebugKotlin
e: /Users/me/myproject/data/build/tmp/kapt3/stubs/debug/com/myproject/data/di/DataComponent.java
11 error: [Dagger/MissingBinding] error.NonExistentClass cannot be provided without an @Inject...