Home | History | Annotate | Download | only in recyclerview
      1 apply plugin: android.support.SupportLibraryPlugin
      2 archivesBaseName = 'recyclerview-v7'
      3 
      4 dependencies {
      5     compile project(':support-annotations')
      6     compile project(':support-compat')
      7     compile project(':support-core-ui')
      8 
      9     androidTestCompile (libs.test_runner) {
     10         exclude module: 'support-annotations'
     11     }
     12     androidTestCompile (libs.espresso_core) {
     13         exclude module: 'support-annotations'
     14     }
     15     androidTestCompile libs.junit
     16     androidTestCompile libs.mockito_core
     17     androidTestCompile libs.dexmaker
     18     androidTestCompile libs.dexmaker_mockito
     19     androidTestCompile project(':support-testutils')
     20 
     21     testCompile libs.junit
     22     testCompile libs.mockito_core
     23     testCompile ("$libs.test_runner") {
     24         exclude module: 'support-annotations'
     25     }
     26 }
     27 
     28 android {
     29     defaultConfig {
     30         minSdkVersion 14
     31     }
     32 
     33     sourceSets {
     34         main.java.srcDir 'src'
     35         main.res.srcDirs 'res', 'res-public'
     36 
     37         test.java.srcDir 'jvm-tests/src'
     38     }
     39 
     40     testOptions {
     41         unitTests.returnDefaultValues = true
     42     }
     43 
     44     buildTypes.all {
     45         consumerProguardFiles 'proguard-rules.pro'
     46     }
     47 }
     48 
     49 supportLibrary {
     50     name 'Android Support RecyclerView v7'
     51     inceptionYear '2014'
     52     description 'Android Support RecyclerView v7'
     53 }
     54