This is related to the Unit Test support being added to Gradle 1.1.0, and the linked bug report [1].
The problem appears to be that the "compile<Variant>UnitTestJava" task does not copy the resources from src/test/resources into the classpath. The main task ("compile<Variant>Java"), on the other hand, *does* copy the resources. I've written a unit test[2] that confirms the behavior is broken, but not familiar enough with the rest of the plugin's inner workings to move toward a fix. Any pointers would be useful. Also, if anyone else is already working on a fix for this, please let me know. [1] https://code.google.com/p/android/issues/detail?id=136013 [2] https://android-review.googlesource.com/#/c/130710/ -- You received this message because you are subscribed to the Google Groups "adt-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to adt-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.