| apply plugin: android.support.SupportLibraryPlugin |
| archivesBaseName = 'recyclerview-v7' |
| |
| dependencies { |
| compile project(':support-annotations') |
| compile project(':support-compat') |
| compile project(':support-core-ui') |
| androidTestCompile ("com.android.support.test:runner:${project.rootProject.ext.testRunnerVersion}") { |
| exclude module: 'support-annotations' |
| } |
| androidTestCompile ("com.android.support.test.espresso:espresso-core:${project.rootProject.ext.espressoVersion}") { |
| exclude module: 'support-annotations' |
| } |
| testCompile 'junit:junit:4.12' |
| testCompile "org.mockito:mockito-core:1.9.5" |
| testCompile ("com.android.support.test:runner:${project.rootProject.ext.testRunnerVersion}") { |
| exclude module: 'support-annotations' |
| } |
| androidTestCompile "org.mockito:mockito-core:1.9.5" |
| androidTestCompile "com.google.dexmaker:dexmaker:1.2" |
| androidTestCompile "com.google.dexmaker:dexmaker-mockito:1.2" |
| } |
| |
| android { |
| compileSdkVersion project.ext.currentSdk |
| |
| defaultConfig { |
| minSdkVersion 14 |
| } |
| |
| sourceSets { |
| main.java.srcDir 'src' |
| main.res.srcDirs 'res', 'res-public' |
| |
| test.java.srcDir 'jvm-tests/src' |
| } |
| |
| testOptions { |
| unitTests.returnDefaultValues = true |
| } |
| |
| buildTypes.all { |
| consumerProguardFiles 'proguard-rules.pro' |
| } |
| } |
| |
| supportLibrary { |
| name 'Android Support RecyclerView v7' |
| inceptionYear '2014' |
| description 'Android Support RecyclerView v7' |
| } |