Home | History | Annotate | Download | only in media-compat
      1 apply plugin: android.support.SupportAndroidLibraryPlugin
      2 
      3 dependencies {
      4     api project(':support-annotations')
      5     api project(':support-compat')
      6 
      7     androidTestImplementation libs.test_runner,      { exclude module: 'support-annotations' }
      8     androidTestImplementation libs.espresso_core,    { exclude module: 'support-annotations' }
      9     androidTestImplementation libs.mockito_core,     { exclude group: 'net.bytebuddy' } // DexMaker has it"s own MockMaker
     10     androidTestImplementation libs.dexmaker_mockito, { exclude group: 'net.bytebuddy' } // DexMaker has it"s own MockMaker
     11     androidTestImplementation project(':support-testutils')
     12 }
     13 
     14 android {
     15     defaultConfig {
     16         minSdkVersion 14
     17     }
     18 
     19     sourceSets {
     20         main.java.srcDirs = [
     21                 'jellybean-mr2',
     22                 'kitkat',
     23                 'api21',
     24                 'api22',
     25                 'api23',
     26                 'api24',
     27                 'api26',
     28                 'java'
     29         ]
     30         main.aidl.srcDirs = ['java']
     31         main.res.srcDirs 'res', 'res-public'
     32     }
     33 
     34     buildTypes.all {
     35         consumerProguardFiles 'proguard-rules.pro'
     36     }
     37 }
     38 
     39 supportLibrary {
     40     name 'Android Support Library media compat'
     41     publish true
     42     inceptionYear '2011'
     43     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."
     44 }
     45