blob: 0ab61c9e77f73e900300aa04f792433931d75653 [file] [log] [blame]
Aurimas Liutikas9697da72016-12-22 15:50:42 -08001apply plugin: android.support.SupportLibraryPlugin
Jaekyun Seokd2f102c2014-04-14 09:26:11 +09002archivesBaseName = 'recyclerview-v7'
3
4dependencies {
Yigit Boyarffff7c92014-10-08 17:24:29 -07005 compile project(':support-annotations')
Kirill Grouchnikov55fc3f22016-05-12 12:17:09 -07006 compile project(':support-compat')
7 compile project(':support-core-ui')
Aurimas Liutikasdfe75782016-08-03 14:27:20 -07008 androidTestCompile ("com.android.support.test:runner:${project.rootProject.ext.testRunnerVersion}") {
Yigit Boyar999c3972015-12-29 17:37:37 -08009 exclude module: 'support-annotations'
10 }
Aurimas Liutikasdfe75782016-08-03 14:27:20 -070011 androidTestCompile ("com.android.support.test.espresso:espresso-core:${project.rootProject.ext.espressoVersion}") {
Yigit Boyar999c3972015-12-29 17:37:37 -080012 exclude module: 'support-annotations'
13 }
Yigit Boyarbe7a54a2015-04-07 13:23:50 -070014 testCompile 'junit:junit:4.12'
Yigit Boyara41c1742016-07-08 18:28:20 -070015 testCompile "org.mockito:mockito-core:1.9.5"
Aurimas Liutikas480ee202016-10-21 10:12:53 -070016 testCompile ("com.android.support.test:runner:${project.rootProject.ext.testRunnerVersion}") {
17 exclude module: 'support-annotations'
18 }
Yigit Boyar999c3972015-12-29 17:37:37 -080019 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 Seokd2f102c2014-04-14 09:26:11 +090022}
23
24android {
Aurimas Liutikase8d41202016-11-15 09:31:05 -080025 compileSdkVersion project.ext.currentSdk
Jaekyun Seokd2f102c2014-04-14 09:26:11 +090026
Xavier Ducrohet9acddc72014-05-28 22:20:01 -070027 defaultConfig {
Aurimas Liutikasf7513062017-01-05 13:02:27 -080028 minSdkVersion 14
Xavier Ducrohet9acddc72014-05-28 22:20:01 -070029 }
30
Jaekyun Seokd2f102c2014-04-14 09:26:11 +090031 sourceSets {
Jaekyun Seokd2f102c2014-04-14 09:26:11 +090032 main.java.srcDir 'src'
Deepanshu Gupta281e1192016-01-18 22:07:58 -080033 main.res.srcDirs 'res', 'res-public'
Deepanshu Gupta0194ed82015-04-15 16:40:02 -070034
Yigit Boyara41c1742016-07-08 18:28:20 -070035 test.java.srcDir 'jvm-tests/src'
Yigit Boyar02a9e8c2016-01-26 20:41:00 -080036 }
37
Yigit Boyarbe7a54a2015-04-07 13:23:50 -070038 testOptions {
39 unitTests.returnDefaultValues = true
40 }
Yigit Boyar9c2c2702015-12-28 14:55:35 -080041
42 buildTypes.all {
43 consumerProguardFiles 'proguard-rules.pro'
44 }
Xavier Ducrohet9acddc72014-05-28 22:20:01 -070045}
46
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080047supportLibrary {
48 name 'Android Support RecyclerView v7'
49 inceptionYear '2014'
50 description 'Android Support RecyclerView v7'
51}