blob: 88c198044ddfedc08332beba88004fe4fb336107 [file] [log] [blame]
Aurimas Liutikasf8b708a2017-11-02 16:07:13 -07001plugins {
2 id("SupportAndroidLibraryPlugin")
3}
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -08004
5dependencies {
Aurimas Liutikas1989c3c2017-07-05 14:44:09 -07006 api project(':support-annotations')
Ian Laked8ee5302017-09-05 16:05:33 -07007 api project(':support-core-utils')
8 api project(':support-fragment')
Aurimas Liutikas1989c3c2017-07-05 14:44:09 -07009 api project(':support-vector-drawable')
Aurimas Liutikas40e78212017-07-20 14:22:58 -070010 api project(':animated-vector-drawable')
Chris Banesbd3494d2016-01-27 18:03:37 +000011
Aurimas Liutikas9edca682017-07-25 09:12:35 -070012 androidTestImplementation libs.test_runner, { exclude module: 'support-annotations' }
13 androidTestImplementation libs.espresso_core, { exclude module: 'support-annotations' }
14 androidTestImplementation libs.mockito_core, { exclude group: 'net.bytebuddy' } // DexMaker has it"s own MockMaker
15 androidTestImplementation libs.dexmaker_mockito, { exclude group: 'net.bytebuddy' } // DexMaker has it"s own MockMaker
Aurimas Liutikas1989c3c2017-07-05 14:44:09 -070016 androidTestImplementation project(':support-testutils')
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080017}
18
19android {
Chris Banescdbdcb22015-07-10 11:05:06 +010020 defaultConfig {
Aurimas Liutikasf7513062017-01-05 13:02:27 -080021 minSdkVersion 14
Alan Viveretteeb648622016-03-11 19:33:03 +000022 // This disables the builds tools automatic vector -> PNG generation
23 generatedDensities = []
Chris Banescdbdcb22015-07-10 11:05:06 +010024 }
25
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080026 sourceSets {
Tor Norbye47c59fb2015-04-08 14:42:16 -070027 main.res.srcDirs 'res', 'res-public'
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'
Aurimas Liutikase1f39f02017-08-23 17:59:58 -070038 publish true
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080039 inceptionYear '2011'
Kirill Grouchnikov5c5181c2017-05-16 10:58:53 -070040 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 Liutikasf8b708a2017-11-02 16:07:13 -070041 legacySourceLocation true
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080042}