blob: 5a142482bf98c1f113b72790953e32de81a87715 [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
Kirill Grouchnikov3743a7e2017-09-26 17:55:05 -040016 androidTestImplementation project(':support-testutils'), {
17 exclude group: 'com.android.support', module: 'appcompat-v7'
18 }
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080019}
20
21android {
Chris Banescdbdcb22015-07-10 11:05:06 +010022 defaultConfig {
Aurimas Liutikasf7513062017-01-05 13:02:27 -080023 minSdkVersion 14
Alan Viveretteeb648622016-03-11 19:33:03 +000024 // This disables the builds tools automatic vector -> PNG generation
25 generatedDensities = []
Chris Banescdbdcb22015-07-10 11:05:06 +010026 }
27
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080028 sourceSets {
Tor Norbye47c59fb2015-04-08 14:42:16 -070029 main.res.srcDirs 'res', 'res-public'
Chris Banes5ba72322014-09-10 13:01:06 +010030 }
31
Alan Viveretteeb648622016-03-11 19:33:03 +000032 aaptOptions {
33 additionalParameters "--no-version-vectors"
Clara Bayarri543fd292017-03-24 11:29:49 +000034 noCompress 'ttf'
Alan Viveretteeb648622016-03-11 19:33:03 +000035 }
Jeff Hamilton5d522dd2014-05-19 12:50:02 -050036}
Xavier Ducrohet11b83982015-03-31 15:12:42 -070037
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080038supportLibrary {
Aurimas Liutikasea5ee822017-11-06 12:52:28 -080039 name = "Android AppCompat Library v7"
40 publish = true
41 inceptionYear = "2011"
42 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."
43 legacySourceLocation = true
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080044}