blob: a0e52906ce23419b9ae139c50d92b4ad72075716 [file] [log] [blame]
Aurimas Liutikasca04e9a2017-08-23 21:19:51 -07001apply plugin: android.support.SupportAndroidLibraryPlugin
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -08002
3dependencies {
Aurimas Liutikas1989c3c2017-07-05 14:44:09 -07004 api project(':support-annotations')
Ian Laked8ee5302017-09-05 16:05:33 -07005 api project(':support-core-utils')
6 api project(':support-fragment')
Aurimas Liutikas1989c3c2017-07-05 14:44:09 -07007 api project(':support-vector-drawable')
Aurimas Liutikas40e78212017-07-20 14:22:58 -07008 api project(':animated-vector-drawable')
Chris Banesbd3494d2016-01-27 18:03:37 +00009
Aurimas Liutikas9edca682017-07-25 09:12:35 -070010 androidTestImplementation libs.test_runner, { exclude module: 'support-annotations' }
11 androidTestImplementation libs.espresso_core, { exclude module: 'support-annotations' }
12 androidTestImplementation libs.mockito_core, { exclude group: 'net.bytebuddy' } // DexMaker has it"s own MockMaker
13 androidTestImplementation libs.dexmaker_mockito, { exclude group: 'net.bytebuddy' } // DexMaker has it"s own MockMaker
Aurimas Liutikas1989c3c2017-07-05 14:44:09 -070014 androidTestImplementation project(':support-testutils')
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080015}
16
17android {
Chris Banescdbdcb22015-07-10 11:05:06 +010018 defaultConfig {
Aurimas Liutikasf7513062017-01-05 13:02:27 -080019 minSdkVersion 14
Alan Viveretteeb648622016-03-11 19:33:03 +000020 // This disables the builds tools automatic vector -> PNG generation
21 generatedDensities = []
Chris Banescdbdcb22015-07-10 11:05:06 +010022 }
23
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080024 sourceSets {
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080025 main.java.srcDir 'src'
Tor Norbye47c59fb2015-04-08 14:42:16 -070026 main.res.srcDirs 'res', 'res-public'
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080027 main.assets.srcDir 'assets'
28 main.resources.srcDir 'src'
Chris Banes5ba72322014-09-10 13:01:06 +010029 }
30
Alan Viveretteeb648622016-03-11 19:33:03 +000031 aaptOptions {
32 additionalParameters "--no-version-vectors"
Clara Bayarri543fd292017-03-24 11:29:49 +000033 noCompress 'ttf'
Alan Viveretteeb648622016-03-11 19:33:03 +000034 }
Jeff Hamilton5d522dd2014-05-19 12:50:02 -050035}
Xavier Ducrohet11b83982015-03-31 15:12:42 -070036
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080037supportLibrary {
38 name 'Android AppCompat Library v7'
Aurimas Liutikase1f39f02017-08-23 17:59:58 -070039 publish true
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080040 inceptionYear '2011'
Kirill Grouchnikov5c5181c2017-05-16 10:58:53 -070041 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 -080042}