I have an Android Kotlin project that I write in Android Studio 3.
I want to use a Dagger 2 component (say TestComponent) for my unit tests in the /test folder.
After rebuilding the project, I see that the DaggerTestComponent is not created (When the dagger components in the /java folder are generated successfully)
I read that this should be solved by adding
kaptTest "com.google.dagger:dagger-compiler:$dagger_version"
but it does not work.
Any suggestions?