1 // See build.gradle for an explanation of what this file is. 2 3 apply plugin: 'com.android.library' 4 5 // Check if the android plugin version supports unit testing. 6 if (configurations.findByName("testCompile")) { 7 dependencies { 8 testCompile "junit:junit:4.10" 9 testCompile "org.mockito:mockito-core:1.9.5" 10 testCompile "org.robolectric:robolectric:3.0" 11 } 12 } 13