Skip to content

Instantly share code, notes, and snippets.

Avatar

Matthew Fremont mfremont

  • Watertown, MA
View GitHub Profile
@mfremont
mfremont / build.gradle
Created Feb 18, 2014
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')