Aurimas Liutikas | 9697da7 | 2016-12-22 15:50:42 -0800 | [diff] [blame] | 1 | apply plugin: android.support.SupportLibraryPlugin |
Jaekyun Seok | d2f102c | 2014-04-14 09:26:11 +0900 | [diff] [blame] | 2 | archivesBaseName = 'recyclerview-v7' |
| 3 | |
| 4 | dependencies { |
Yigit Boyar | ffff7c9 | 2014-10-08 17:24:29 -0700 | [diff] [blame] | 5 | compile project(':support-annotations') |
Kirill Grouchnikov | 55fc3f2 | 2016-05-12 12:17:09 -0700 | [diff] [blame] | 6 | compile project(':support-compat') |
| 7 | compile project(':support-core-ui') |
Aurimas Liutikas | dfe7578 | 2016-08-03 14:27:20 -0700 | [diff] [blame] | 8 | androidTestCompile ("com.android.support.test:runner:${project.rootProject.ext.testRunnerVersion}") { |
Yigit Boyar | 999c397 | 2015-12-29 17:37:37 -0800 | [diff] [blame] | 9 | exclude module: 'support-annotations' |
| 10 | } |
Aurimas Liutikas | dfe7578 | 2016-08-03 14:27:20 -0700 | [diff] [blame] | 11 | androidTestCompile ("com.android.support.test.espresso:espresso-core:${project.rootProject.ext.espressoVersion}") { |
Yigit Boyar | 999c397 | 2015-12-29 17:37:37 -0800 | [diff] [blame] | 12 | exclude module: 'support-annotations' |
| 13 | } |
Yigit Boyar | be7a54a | 2015-04-07 13:23:50 -0700 | [diff] [blame] | 14 | testCompile 'junit:junit:4.12' |
Yigit Boyar | a41c174 | 2016-07-08 18:28:20 -0700 | [diff] [blame] | 15 | testCompile "org.mockito:mockito-core:1.9.5" |
Aurimas Liutikas | 480ee20 | 2016-10-21 10:12:53 -0700 | [diff] [blame] | 16 | testCompile ("com.android.support.test:runner:${project.rootProject.ext.testRunnerVersion}") { |
| 17 | exclude module: 'support-annotations' |
| 18 | } |
Yigit Boyar | 999c397 | 2015-12-29 17:37:37 -0800 | [diff] [blame] | 19 | androidTestCompile "org.mockito:mockito-core:1.9.5" |
| 20 | androidTestCompile "com.google.dexmaker:dexmaker:1.2" |
| 21 | androidTestCompile "com.google.dexmaker:dexmaker-mockito:1.2" |
Jaekyun Seok | d2f102c | 2014-04-14 09:26:11 +0900 | [diff] [blame] | 22 | } |
| 23 | |
| 24 | android { |
Aurimas Liutikas | e8d4120 | 2016-11-15 09:31:05 -0800 | [diff] [blame] | 25 | compileSdkVersion project.ext.currentSdk |
Jaekyun Seok | d2f102c | 2014-04-14 09:26:11 +0900 | [diff] [blame] | 26 | |
Xavier Ducrohet | 9acddc7 | 2014-05-28 22:20:01 -0700 | [diff] [blame] | 27 | defaultConfig { |
Aurimas Liutikas | f751306 | 2017-01-05 13:02:27 -0800 | [diff] [blame] | 28 | minSdkVersion 14 |
Xavier Ducrohet | 9acddc7 | 2014-05-28 22:20:01 -0700 | [diff] [blame] | 29 | } |
| 30 | |
Jaekyun Seok | d2f102c | 2014-04-14 09:26:11 +0900 | [diff] [blame] | 31 | sourceSets { |
Jaekyun Seok | d2f102c | 2014-04-14 09:26:11 +0900 | [diff] [blame] | 32 | main.java.srcDir 'src' |
Deepanshu Gupta | 281e119 | 2016-01-18 22:07:58 -0800 | [diff] [blame] | 33 | main.res.srcDirs 'res', 'res-public' |
Deepanshu Gupta | 0194ed8 | 2015-04-15 16:40:02 -0700 | [diff] [blame] | 34 | |
Yigit Boyar | a41c174 | 2016-07-08 18:28:20 -0700 | [diff] [blame] | 35 | test.java.srcDir 'jvm-tests/src' |
Yigit Boyar | 02a9e8c | 2016-01-26 20:41:00 -0800 | [diff] [blame] | 36 | } |
| 37 | |
Yigit Boyar | be7a54a | 2015-04-07 13:23:50 -0700 | [diff] [blame] | 38 | testOptions { |
| 39 | unitTests.returnDefaultValues = true |
| 40 | } |
Yigit Boyar | 9c2c270 | 2015-12-28 14:55:35 -0800 | [diff] [blame] | 41 | |
| 42 | buildTypes.all { |
| 43 | consumerProguardFiles 'proguard-rules.pro' |
| 44 | } |
Xavier Ducrohet | 9acddc7 | 2014-05-28 22:20:01 -0700 | [diff] [blame] | 45 | } |
| 46 | |
Aurimas Liutikas | 16cd13b | 2017-01-04 15:00:13 -0800 | [diff] [blame] | 47 | supportLibrary { |
| 48 | name 'Android Support RecyclerView v7' |
| 49 | inceptionYear '2014' |
| 50 | description 'Android Support RecyclerView v7' |
| 51 | } |