Kapt: generatestubs

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)

generateStubs is an option that existed in the old kapt implementation. Please switch to the new one: http://kotlinlang.org/docs/reference/kapt.html

Thank you for the response!
Switching to new implementation solved the issue.