Skip to content

Instantly share code, notes, and snippets.

View mfremont's full-sized avatar

Matthew Fremont mfremont

  • Watertown, MA
View GitHub Profile
mfremont / build.gradle
Created February 18, 2014 15:20
Example build.gradle for a unit test submodule in an Android project.
View build.gradle
* Example build descriptor that builds and runs Robolectric unit tests in src/test for an Android
* app project in the 'app' module of the project.
apply plugin: 'java'
test {
// Robolectric expects to find AndroidManifest.xml and res/ in the working directory
workingDir androidManifestDir(project(':app'), 'main')