blob: 90662f8af3499b53f09c868a8ba08a341cc203d2 [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')
Aurimas Liutikas40e78212017-07-20 14:22:58 -07007 api project(':animated-vector-drawable')
Chris Banesbd3494d2016-01-27 18:03:37 +00008
Aurimas Liutikas9edca682017-07-25 09:12:35 -07009 androidTestImplementation libs.test_runner, { exclude module: 'support-annotations' }
10 androidTestImplementation libs.espresso_core, { exclude module: 'support-annotations' }
11 androidTestImplementation libs.mockito_core, { exclude group: 'net.bytebuddy' } // DexMaker has it"s own MockMaker
12 androidTestImplementation libs.dexmaker_mockito, { exclude group: 'net.bytebuddy' } // DexMaker has it"s own MockMaker
Aurimas Liutikas1989c3c2017-07-05 14:44:09 -070013 androidTestImplementation project(':support-testutils')
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080014}
15
16android {
Chris Banescdbdcb22015-07-10 11:05:06 +010017 defaultConfig {
Aurimas Liutikasf7513062017-01-05 13:02:27 -080018 minSdkVersion 14
Alan Viveretteeb648622016-03-11 19:33:03 +000019 // This disables the builds tools automatic vector -> PNG generation
20 generatedDensities = []
Chris Banescdbdcb22015-07-10 11:05:06 +010021 }
22
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080023 sourceSets {
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080024 main.java.srcDir 'src'
Tor Norbye47c59fb2015-04-08 14:42:16 -070025 main.res.srcDirs 'res', 'res-public'
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080026 main.assets.srcDir 'assets'
27 main.resources.srcDir 'src'
Chris Banes5ba72322014-09-10 13:01:06 +010028 }
29
Alan Viveretteeb648622016-03-11 19:33:03 +000030 aaptOptions {
31 additionalParameters "--no-version-vectors"
Clara Bayarri543fd292017-03-24 11:29:49 +000032 noCompress 'ttf'
Alan Viveretteeb648622016-03-11 19:33:03 +000033 }
Jeff Hamilton5d522dd2014-05-19 12:50:02 -050034}
Xavier Ducrohet11b83982015-03-31 15:12:42 -070035
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080036supportLibrary {
37 name 'Android AppCompat Library v7'
38 inceptionYear '2011'
Kirill Grouchnikov5c5181c2017-05-16 10:58:53 -070039 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 -080040}