blob: b35eb7f2b27c5b1ee850ddee25c2aa932beba448 [file] [log] [blame]
Aurimas Liutikas9697da72016-12-22 15:50:42 -08001apply plugin: android.support.SupportLibraryPlugin
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -08002
3dependencies {
Alan Viverette9439d702016-10-25 14:45:10 +01004 compile project(':support-annotations')
Xavier Ducrohet855a9222014-01-02 19:00:43 -08005 compile project(':support-v4')
Chris Banese4beadb2015-11-10 10:45:58 +00006 compile project(':support-vector-drawable')
Chris Banesbd3494d2016-01-27 18:03:37 +00007 compile project(':support-animated-vector-drawable')
8
Aurimas Liutikasf09d8582017-01-20 21:49:51 -08009 androidTestCompile (libs.test_runner) {
Chris Banesf6c82b62016-01-13 16:38:59 +000010 exclude module: 'support-annotations'
11 }
Aurimas Liutikasf09d8582017-01-20 21:49:51 -080012 androidTestCompile (libs.espresso_core) {
Chris Banesf6c82b62016-01-13 16:38:59 +000013 exclude module: 'support-annotations'
14 }
Aurimas Liutikasf09d8582017-01-20 21:49:51 -080015 androidTestCompile libs.mockito_core
Aurimas Liutikasf09d8582017-01-20 21:49:51 -080016 androidTestCompile libs.dexmaker_mockito
Yohei Yukawae5b8e352017-03-24 16:06:45 -070017 androidTestCompile project(':support-testutils')
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080018}
19
20android {
Chris Banescdbdcb22015-07-10 11:05:06 +010021 defaultConfig {
Aurimas Liutikasf7513062017-01-05 13:02:27 -080022 minSdkVersion 14
Alan Viveretteeb648622016-03-11 19:33:03 +000023 // This disables the builds tools automatic vector -> PNG generation
24 generatedDensities = []
Chris Banescdbdcb22015-07-10 11:05:06 +010025 }
26
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080027 sourceSets {
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080028 main.java.srcDir 'src'
Tor Norbye47c59fb2015-04-08 14:42:16 -070029 main.res.srcDirs 'res', 'res-public'
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080030 main.assets.srcDir 'assets'
31 main.resources.srcDir 'src'
Chris Banes5ba72322014-09-10 13:01:06 +010032 }
33
Alan Viveretteeb648622016-03-11 19:33:03 +000034 aaptOptions {
35 additionalParameters "--no-version-vectors"
Clara Bayarri543fd292017-03-24 11:29:49 +000036 noCompress 'ttf'
Alan Viveretteeb648622016-03-11 19:33:03 +000037 }
Jeff Hamilton5d522dd2014-05-19 12:50:02 -050038}
Xavier Ducrohet11b83982015-03-31 15:12:42 -070039
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080040supportLibrary {
41 name 'Android AppCompat Library v7'
42 inceptionYear '2011'
Kirill Grouchnikov5c5181c2017-05-16 10:58:53 -070043 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 -080044}