|
@@ -38,15 +38,32 @@ dependencies {
|
|
|
compile "com.android.support:appcompat-v7:${supportLibraryVersion}"
|
|
|
compile 'com.getbase:floatingactionbutton:1.10.1'
|
|
|
|
|
|
+
|
|
|
/// dependencies for local unit tests
|
|
|
testCompile 'junit:junit:4.12'
|
|
|
testCompile 'org.mockito:mockito-core:1.10.19'
|
|
|
+
|
|
|
+
|
|
|
+ /// dependencies for instrumented tests
|
|
|
+ // JUnit4 Rules
|
|
|
+ androidTestCompile 'com.android.support.test:rules:0.5'
|
|
|
+
|
|
|
+ // Android JUnit Runner
|
|
|
+ androidTestCompile 'com.android.support.test:runner:0.5'
|
|
|
+
|
|
|
+ // Espresso core
|
|
|
+ androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.2'
|
|
|
+
|
|
|
}
|
|
|
|
|
|
android {
|
|
|
compileSdkVersion 23
|
|
|
buildToolsVersion "23.0.3"
|
|
|
|
|
|
+ defaultConfig {
|
|
|
+ testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
|
+ }
|
|
|
+
|
|
|
// adapt structure from Eclipse to Gradle/Android Studio expectations;
|
|
|
// see http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Configuring-the-Structure
|
|
|
sourceSets {
|