// See build.gradle for an explanation of what this file is. | |
apply plugin: 'com.android.library' | |
// Check if the android plugin version supports unit testing. | |
if (configurations.findByName("testCompile")) { | |
dependencies { | |
testCompile "junit:junit:4.10" | |
testCompile "org.mockito:mockito-core:1.9.5" | |
testCompile "org.robolectric:robolectric:3.0" | |
} | |
} |