blob: 706d6d309a45d52b5a1fb5ce726c96aa6327c7a0 [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
17 androidTestCompile libs.dexmaker
18 androidTestCompile libs.dexmaker_mockito
Yohei Yukawae5b8e352017-03-24 16:06:45 -070019 androidTestCompile project(':support-testutils')
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080020}
21
22android {
Chris Banescdbdcb22015-07-10 11:05:06 +010023 defaultConfig {
Aurimas Liutikasf7513062017-01-05 13:02:27 -080024 minSdkVersion 14
Alan Viveretteeb648622016-03-11 19:33:03 +000025 // This disables the builds tools automatic vector -> PNG generation
26 generatedDensities = []
Chris Banescdbdcb22015-07-10 11:05:06 +010027 }
28
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080029 sourceSets {
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080030 main.java.srcDir 'src'
Tor Norbye47c59fb2015-04-08 14:42:16 -070031 main.res.srcDirs 'res', 'res-public'
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080032 main.assets.srcDir 'assets'
33 main.resources.srcDir 'src'
Chris Banes5ba72322014-09-10 13:01:06 +010034 }
35
Alan Viveretteeb648622016-03-11 19:33:03 +000036 aaptOptions {
37 additionalParameters "--no-version-vectors"
Clara Bayarri543fd292017-03-24 11:29:49 +000038 noCompress 'ttf'
Alan Viveretteeb648622016-03-11 19:33:03 +000039 }
Jeff Hamilton5d522dd2014-05-19 12:50:02 -050040}
Xavier Ducrohet11b83982015-03-31 15:12:42 -070041
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080042supportLibrary {
43 name 'Android AppCompat Library v7'
44 inceptionYear '2011'
Kirill Grouchnikov5c5181c2017-05-16 10:58:53 -070045 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 -080046}