blob: f604aa3b6d238b4506d45449eada40386cd067b0 [file] [log] [blame]
Aurimas Liutikas9697da72016-12-22 15:50:42 -08001apply plugin: android.support.SupportLibraryPlugin
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -08002archivesBaseName = 'appcompat-v7'
3
4dependencies {
Alan Viverette9439d702016-10-25 14:45:10 +01005 compile project(':support-annotations')
Xavier Ducrohet855a9222014-01-02 19:00:43 -08006 compile project(':support-v4')
Chris Banese4beadb2015-11-10 10:45:58 +00007 compile project(':support-vector-drawable')
Chris Banesbd3494d2016-01-27 18:03:37 +00008 compile project(':support-animated-vector-drawable')
9
Aurimas Liutikasf09d8582017-01-20 21:49:51 -080010 androidTestCompile (libs.test_runner) {
Chris Banesf6c82b62016-01-13 16:38:59 +000011 exclude module: 'support-annotations'
12 }
Aurimas Liutikasf09d8582017-01-20 21:49:51 -080013 androidTestCompile (libs.espresso_core) {
Chris Banesf6c82b62016-01-13 16:38:59 +000014 exclude module: 'support-annotations'
15 }
Aurimas Liutikasf09d8582017-01-20 21:49:51 -080016 androidTestCompile libs.mockito_core
Aurimas Liutikasf09d8582017-01-20 21:49:51 -080017 androidTestCompile libs.dexmaker_mockito
Yohei Yukawae5b8e352017-03-24 16:06:45 -070018 androidTestCompile project(':support-testutils')
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080019}
20
21android {
Chris Banescdbdcb22015-07-10 11:05:06 +010022 defaultConfig {
Aurimas Liutikasf7513062017-01-05 13:02:27 -080023 minSdkVersion 14
Alan Viveretteeb648622016-03-11 19:33:03 +000024 // This disables the builds tools automatic vector -> PNG generation
25 generatedDensities = []
Chris Banescdbdcb22015-07-10 11:05:06 +010026 }
27
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080028 sourceSets {
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080029 main.java.srcDir 'src'
Tor Norbye47c59fb2015-04-08 14:42:16 -070030 main.res.srcDirs 'res', 'res-public'
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080031 main.assets.srcDir 'assets'
32 main.resources.srcDir 'src'
Chris Banes5ba72322014-09-10 13:01:06 +010033 }
34
Alan Viveretteeb648622016-03-11 19:33:03 +000035 aaptOptions {
36 additionalParameters "--no-version-vectors"
Clara Bayarri543fd292017-03-24 11:29:49 +000037 noCompress 'ttf'
Alan Viveretteeb648622016-03-11 19:33:03 +000038 }
Jeff Hamilton5d522dd2014-05-19 12:50:02 -050039}
Xavier Ducrohet11b83982015-03-31 15:12:42 -070040
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080041supportLibrary {
42 name 'Android AppCompat Library v7'
43 inceptionYear '2011'
Kirill Grouchnikov5c5181c2017-05-16 10:58:53 -070044 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."
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080045}