blob: 073b923c2861491b503467f292841b0f6d700c80 [file] [log] [blame]
Aurimas Liutikas9697da72016-12-22 15:50:42 -08001apply plugin: android.support.SupportLibraryPlugin
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -08002
3dependencies {
Aurimas Liutikas1989c3c2017-07-05 14:44:09 -07004 api project(':support-annotations')
5 api project(':support-v4')
6 api project(':support-vector-drawable')
7 api project(':support-animated-vector-drawable')
Chris Banesbd3494d2016-01-27 18:03:37 +00008
Aurimas Liutikas1989c3c2017-07-05 14:44:09 -07009 androidTestImplementation (libs.test_runner) {
Chris Banesf6c82b62016-01-13 16:38:59 +000010 exclude module: 'support-annotations'
11 }
Aurimas Liutikas1989c3c2017-07-05 14:44:09 -070012 androidTestImplementation (libs.espresso_core) {
Chris Banesf6c82b62016-01-13 16:38:59 +000013 exclude module: 'support-annotations'
14 }
Aurimas Liutikas1989c3c2017-07-05 14:44:09 -070015 androidTestImplementation libs.mockito_core
16 androidTestImplementation libs.dexmaker_mockito
17 androidTestImplementation 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}