Annotation Processing


I'm new to TeamCity and I'm trying to get it to run the unit tests in my Android project.
I'm using TeamCity Enterprise 8.0.1 (build 27435) and Android Studio 0.4.6 for development.
I'm using the Dagger library which requires annotation processing, so I've ticked the "Enable annotation processing" box in Android Studio and am able to run the unit tests locally.

I've set up a build step in TeamCity to run my unit test run configuration in my IntelliJ IDEA Project, but it appears that TeamCity isn't doing the annotation processing as I get the error "Please ensure that code generation was run for this module." for some of my unit tests (the ones that depend on source classes that require annotation processing).

Help would be very much appreciated.


Please sign in to leave a comment.