Home | History | Annotate | Download | only in media-compat
      1 apply plugin: android.support.SupportLibraryPlugin
      2 archivesBaseName = 'support-media-compat'
      3 
      4 dependencies {
      5     compile project(':support-annotations')
      6     compile project(':support-compat')
      7 
      8     androidTestCompile(libs.test_runner) {
      9         exclude module: 'support-annotations'
     10     }
     11     androidTestCompile(libs.espresso_core) {
     12         exclude module: 'support-annotations'
     13     }
     14     androidTestCompile(libs.mockito_core)
     15     androidTestCompile(libs.dexmaker)
     16     androidTestCompile(libs.dexmaker_mockito)
     17     androidTestCompile project(':support-testutils')
     18 }
     19 
     20 android {
     21     defaultConfig {
     22         minSdkVersion 14
     23     }
     24 
     25     sourceSets {
     26         main.java.srcDirs = [
     27                 'jellybean-mr2',
     28                 'kitkat',
     29                 'api21',
     30                 'api22',
     31                 'api23',
     32                 'api24',
     33                 'java'
     34         ]
     35         main.aidl.srcDirs = ['java']
     36     }
     37 
     38     buildTypes.all {
     39         consumerProguardFiles 'proguard-rules.pro'
     40     }
     41 }
     42 
     43 supportLibrary {
     44     name 'Android Support Library media compat'
     45     inceptionYear '2011'
     46     description "The Support Library is a static library that you can add to your Android application in order to use APIs that are either not available for older platform versions or utility APIs that aren't a part of the framework APIs. Compatible on devices running API 14 or later."
     47 }
     48