Aurimas Liutikas | f8b708a | 2017-11-02 16:07:13 -0700 | [diff] [blame] | 1 | plugins { |
| 2 | id("SupportAndroidLibraryPlugin") |
| 3 | } |
Xavier Ducrohet | 86fb8ef | 2013-02-22 15:04:37 -0800 | [diff] [blame] | 4 | |
| 5 | dependencies { |
Aurimas Liutikas | 1989c3c | 2017-07-05 14:44:09 -0700 | [diff] [blame] | 6 | api project(':support-annotations') |
Ian Lake | d8ee530 | 2017-09-05 16:05:33 -0700 | [diff] [blame] | 7 | api project(':support-core-utils') |
| 8 | api project(':support-fragment') |
Aurimas Liutikas | 1989c3c | 2017-07-05 14:44:09 -0700 | [diff] [blame] | 9 | api project(':support-vector-drawable') |
Aurimas Liutikas | 40e7821 | 2017-07-20 14:22:58 -0700 | [diff] [blame] | 10 | api project(':animated-vector-drawable') |
Chris Banes | bd3494d | 2016-01-27 18:03:37 +0000 | [diff] [blame] | 11 | |
Aurimas Liutikas | 9edca68 | 2017-07-25 09:12:35 -0700 | [diff] [blame] | 12 | 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 Grouchnikov | 3743a7e | 2017-09-26 17:55:05 -0400 | [diff] [blame] | 16 | androidTestImplementation project(':support-testutils'), { |
| 17 | exclude group: 'com.android.support', module: 'appcompat-v7' |
| 18 | } |
Xavier Ducrohet | 86fb8ef | 2013-02-22 15:04:37 -0800 | [diff] [blame] | 19 | } |
| 20 | |
| 21 | android { |
Chris Banes | cdbdcb2 | 2015-07-10 11:05:06 +0100 | [diff] [blame] | 22 | defaultConfig { |
Aurimas Liutikas | f751306 | 2017-01-05 13:02:27 -0800 | [diff] [blame] | 23 | minSdkVersion 14 |
Alan Viverette | eb64862 | 2016-03-11 19:33:03 +0000 | [diff] [blame] | 24 | // This disables the builds tools automatic vector -> PNG generation |
| 25 | generatedDensities = [] |
Chris Banes | cdbdcb2 | 2015-07-10 11:05:06 +0100 | [diff] [blame] | 26 | } |
| 27 | |
Xavier Ducrohet | 86fb8ef | 2013-02-22 15:04:37 -0800 | [diff] [blame] | 28 | sourceSets { |
Tor Norbye | 47c59fb | 2015-04-08 14:42:16 -0700 | [diff] [blame] | 29 | main.res.srcDirs 'res', 'res-public' |
Chris Banes | 5ba7232 | 2014-09-10 13:01:06 +0100 | [diff] [blame] | 30 | } |
| 31 | |
Alan Viverette | eb64862 | 2016-03-11 19:33:03 +0000 | [diff] [blame] | 32 | aaptOptions { |
| 33 | additionalParameters "--no-version-vectors" |
Clara Bayarri | 543fd29 | 2017-03-24 11:29:49 +0000 | [diff] [blame] | 34 | noCompress 'ttf' |
Alan Viverette | eb64862 | 2016-03-11 19:33:03 +0000 | [diff] [blame] | 35 | } |
Jeff Hamilton | 5d522dd | 2014-05-19 12:50:02 -0500 | [diff] [blame] | 36 | } |
Xavier Ducrohet | 11b8398 | 2015-03-31 15:12:42 -0700 | [diff] [blame] | 37 | |
Aurimas Liutikas | 16cd13b | 2017-01-04 15:00:13 -0800 | [diff] [blame] | 38 | supportLibrary { |
Aurimas Liutikas | ea5ee82 | 2017-11-06 12:52:28 -0800 | [diff] [blame] | 39 | 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 Liutikas | 16cd13b | 2017-01-04 15:00:13 -0800 | [diff] [blame] | 44 | } |