Home | History | Annotate | Download | only in compat
      1 apply plugin: android.support.SupportAndroidLibraryPlugin
      2 
      3 dependencies {
      4     api project(':support-annotations')
      5     api (libs.arch_lifecycle_runtime)  {
      6         exclude module: 'support-annotations'
      7     }
      8 
      9     androidTestImplementation libs.test_runner,      { exclude module: 'support-annotations' }
     10     androidTestImplementation libs.espresso_core,    { exclude module: 'support-annotations' }
     11     androidTestImplementation libs.mockito_core,     { exclude group: 'net.bytebuddy' } // DexMaker has it"s own MockMaker
     12     androidTestImplementation libs.dexmaker_mockito, { exclude group: 'net.bytebuddy' } // DexMaker has it"s own MockMaker
     13     androidTestImplementation project(':support-testutils')
     14 }
     15 
     16 android {
     17     defaultConfig {
     18         minSdkVersion 14
     19     }
     20 
     21     sourceSets {
     22         main.java.srcDirs = ['java']
     23         main.aidl.srcDirs = ['java']
     24         main.res.srcDirs 'res', 'res-public'
     25     }
     26 
     27     aaptOptions {
     28         noCompress 'ttf'
     29     }
     30 }
     31 
     32 supportLibrary {
     33     name 'Android Support Library compat'
     34     publish true
     35     inceptionYear '2015'
     36     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."
     37 }
     38