Aurimas Liutikas | ca04e9a | 2017-08-23 21:19:51 -0700 | [diff] [blame^] | 1 | apply plugin: android.support.SupportAndroidLibraryPlugin |
Xavier Ducrohet | 86fb8ef | 2013-02-22 15:04:37 -0800 | [diff] [blame] | 2 | |
| 3 | dependencies { |
Aurimas Liutikas | 1989c3c | 2017-07-05 14:44:09 -0700 | [diff] [blame] | 4 | api project(':support-annotations') |
| 5 | api project(':support-v4') |
| 6 | api project(':support-vector-drawable') |
Aurimas Liutikas | 40e7821 | 2017-07-20 14:22:58 -0700 | [diff] [blame] | 7 | api project(':animated-vector-drawable') |
Chris Banes | bd3494d | 2016-01-27 18:03:37 +0000 | [diff] [blame] | 8 | |
Aurimas Liutikas | 9edca68 | 2017-07-25 09:12:35 -0700 | [diff] [blame] | 9 | 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 Liutikas | 1989c3c | 2017-07-05 14:44:09 -0700 | [diff] [blame] | 13 | androidTestImplementation project(':support-testutils') |
Xavier Ducrohet | 86fb8ef | 2013-02-22 15:04:37 -0800 | [diff] [blame] | 14 | } |
| 15 | |
| 16 | android { |
Chris Banes | cdbdcb2 | 2015-07-10 11:05:06 +0100 | [diff] [blame] | 17 | defaultConfig { |
Aurimas Liutikas | f751306 | 2017-01-05 13:02:27 -0800 | [diff] [blame] | 18 | minSdkVersion 14 |
Alan Viverette | eb64862 | 2016-03-11 19:33:03 +0000 | [diff] [blame] | 19 | // This disables the builds tools automatic vector -> PNG generation |
| 20 | generatedDensities = [] |
Chris Banes | cdbdcb2 | 2015-07-10 11:05:06 +0100 | [diff] [blame] | 21 | } |
| 22 | |
Xavier Ducrohet | 86fb8ef | 2013-02-22 15:04:37 -0800 | [diff] [blame] | 23 | sourceSets { |
Xavier Ducrohet | 86fb8ef | 2013-02-22 15:04:37 -0800 | [diff] [blame] | 24 | main.java.srcDir 'src' |
Tor Norbye | 47c59fb | 2015-04-08 14:42:16 -0700 | [diff] [blame] | 25 | main.res.srcDirs 'res', 'res-public' |
Xavier Ducrohet | 86fb8ef | 2013-02-22 15:04:37 -0800 | [diff] [blame] | 26 | main.assets.srcDir 'assets' |
| 27 | main.resources.srcDir 'src' |
Chris Banes | 5ba7232 | 2014-09-10 13:01:06 +0100 | [diff] [blame] | 28 | } |
| 29 | |
Alan Viverette | eb64862 | 2016-03-11 19:33:03 +0000 | [diff] [blame] | 30 | aaptOptions { |
| 31 | additionalParameters "--no-version-vectors" |
Clara Bayarri | 543fd29 | 2017-03-24 11:29:49 +0000 | [diff] [blame] | 32 | noCompress 'ttf' |
Alan Viverette | eb64862 | 2016-03-11 19:33:03 +0000 | [diff] [blame] | 33 | } |
Jeff Hamilton | 5d522dd | 2014-05-19 12:50:02 -0500 | [diff] [blame] | 34 | } |
Xavier Ducrohet | 11b8398 | 2015-03-31 15:12:42 -0700 | [diff] [blame] | 35 | |
Aurimas Liutikas | 16cd13b | 2017-01-04 15:00:13 -0800 | [diff] [blame] | 36 | supportLibrary { |
| 37 | name 'Android AppCompat Library v7' |
Aurimas Liutikas | e1f39f0 | 2017-08-23 17:59:58 -0700 | [diff] [blame] | 38 | publish true |
Aurimas Liutikas | 16cd13b | 2017-01-04 15:00:13 -0800 | [diff] [blame] | 39 | inceptionYear '2011' |
Kirill Grouchnikov | 5c5181c | 2017-05-16 10:58:53 -0700 | [diff] [blame] | 40 | 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 Liutikas | 16cd13b | 2017-01-04 15:00:13 -0800 | [diff] [blame] | 41 | } |