marcin
1
Using kapt with: generatestubs = true
, in order to use libraries like dagger 2 or dbflow, makes accessing internal classes from unit tests impossible.
Example project: Bitbucket (remove kapt option in app’s gradle in order to run tests without errors)
yole
2
generateStubs
is an option that existed in the old kapt implementation. Please switch to the new one: http://kotlinlang.org/docs/reference/kapt.html
marcin
3
Thank you for the response!
Switching to new implementation solved the issue.