Home | History | Annotate | Download | only in appcompat
      1 apply plugin: android.support.SupportAndroidLibraryPlugin
      2 
      3 dependencies {
      4     api project(':support-annotations')
      5     api project(':support-core-utils')
      6     api project(':support-fragment')
      7     api project(':support-vector-drawable')
      8     api project(':animated-vector-drawable')
      9 
     10     androidTestImplementation libs.test_runner,      { exclude module: 'support-annotations' }
     11     androidTestImplementation libs.espresso_core,    { exclude module: 'support-annotations' }
     12     androidTestImplementation libs.mockito_core,     { exclude group: 'net.bytebuddy' } // DexMaker has it"s own MockMaker
     13     androidTestImplementation libs.dexmaker_mockito, { exclude group: 'net.bytebuddy' } // DexMaker has it"s own MockMaker
     14     androidTestImplementation project(':support-testutils')
     15 }
     16 
     17 android {
     18     defaultConfig {
     19         minSdkVersion 14
     20         // This disables the builds tools automatic vector -> PNG generation
     21         generatedDensities = []
     22     }
     23 
     24     sourceSets {
     25         main.java.srcDir 'src'
     26         main.res.srcDirs 'res', 'res-public'
     27         main.assets.srcDir 'assets'
     28         main.resources.srcDir 'src'
     29     }
     30 
     31     aaptOptions {
     32         additionalParameters "--no-version-vectors"
     33         noCompress 'ttf'
     34     }
     35 }
     36 
     37 supportLibrary {
     38     name 'Android AppCompat Library v7'
     39     publish true
     40     inceptionYear '2011'
     41     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."
     42 }
     43