Yigit Boyar | b96cceaa | 2016-10-31 17:51:15 -0700 | [diff] [blame^] | 1 | apply plugin: 'com.android.library' |
| 2 | |
| 3 | android { |
| 4 | compileSdkVersion 25 |
| 5 | buildToolsVersion "25.0.0" |
| 6 | |
| 7 | defaultConfig { |
| 8 | minSdkVersion 14 |
| 9 | targetSdkVersion 25 |
| 10 | versionCode 1 |
| 11 | versionName "1.0" |
| 12 | |
| 13 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" |
| 14 | |
| 15 | } |
| 16 | buildTypes { |
| 17 | release { |
| 18 | minifyEnabled false |
| 19 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | testOptions { |
| 24 | unitTests.returnDefaultValues = true |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | dependencies { |
| 29 | compile project(":common") |
| 30 | // using classes like Pair from support core allows Lifecycle to be compatible w/ junit tests |
| 31 | compile "com.android.support:support-core-utils:25.0.0" |
| 32 | testCompile 'junit:junit:4.12' |
| 33 | testCompile "org.mockito:mockito-core:1.9.5" |
| 34 | } |