Aurimas Liutikas | 9697da7 | 2016-12-22 15:50:42 -0800 | [diff] [blame] | 1 | apply plugin: android.support.SupportLibraryPlugin |
Xavier Ducrohet | 86fb8ef | 2013-02-22 15:04:37 -0800 | [diff] [blame] | 2 | archivesBaseName = 'appcompat-v7' |
| 3 | |
| 4 | dependencies { |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 5 | compile project(':support-annotations') |
Xavier Ducrohet | 855a922 | 2014-01-02 19:00:43 -0800 | [diff] [blame] | 6 | compile project(':support-v4') |
Chris Banes | e4beadb | 2015-11-10 10:45:58 +0000 | [diff] [blame] | 7 | compile project(':support-vector-drawable') |
Chris Banes | bd3494d | 2016-01-27 18:03:37 +0000 | [diff] [blame] | 8 | compile project(':support-animated-vector-drawable') |
| 9 | |
Aurimas Liutikas | f09d858 | 2017-01-20 21:49:51 -0800 | [diff] [blame] | 10 | androidTestCompile (libs.test_runner) { |
Chris Banes | f6c82b6 | 2016-01-13 16:38:59 +0000 | [diff] [blame] | 11 | exclude module: 'support-annotations' |
| 12 | } |
Aurimas Liutikas | f09d858 | 2017-01-20 21:49:51 -0800 | [diff] [blame] | 13 | androidTestCompile (libs.espresso_core) { |
Chris Banes | f6c82b6 | 2016-01-13 16:38:59 +0000 | [diff] [blame] | 14 | exclude module: 'support-annotations' |
| 15 | } |
Aurimas Liutikas | f09d858 | 2017-01-20 21:49:51 -0800 | [diff] [blame] | 16 | androidTestCompile libs.mockito_core |
Aurimas Liutikas | f09d858 | 2017-01-20 21:49:51 -0800 | [diff] [blame] | 17 | androidTestCompile libs.dexmaker_mockito |
Yohei Yukawa | e5b8e35 | 2017-03-24 16:06:45 -0700 | [diff] [blame] | 18 | androidTestCompile project(':support-testutils') |
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 { |
Xavier Ducrohet | 86fb8ef | 2013-02-22 15:04:37 -0800 | [diff] [blame] | 29 | main.java.srcDir 'src' |
Tor Norbye | 47c59fb | 2015-04-08 14:42:16 -0700 | [diff] [blame] | 30 | main.res.srcDirs 'res', 'res-public' |
Xavier Ducrohet | 86fb8ef | 2013-02-22 15:04:37 -0800 | [diff] [blame] | 31 | main.assets.srcDir 'assets' |
| 32 | main.resources.srcDir 'src' |
Chris Banes | 5ba7232 | 2014-09-10 13:01:06 +0100 | [diff] [blame] | 33 | } |
| 34 | |
Alan Viverette | eb64862 | 2016-03-11 19:33:03 +0000 | [diff] [blame] | 35 | aaptOptions { |
| 36 | additionalParameters "--no-version-vectors" |
Clara Bayarri | 543fd29 | 2017-03-24 11:29:49 +0000 | [diff] [blame] | 37 | noCompress 'ttf' |
Alan Viverette | eb64862 | 2016-03-11 19:33:03 +0000 | [diff] [blame] | 38 | } |
Jeff Hamilton | 5d522dd | 2014-05-19 12:50:02 -0500 | [diff] [blame] | 39 | } |
Xavier Ducrohet | 11b8398 | 2015-03-31 15:12:42 -0700 | [diff] [blame] | 40 | |
Aurimas Liutikas | 16cd13b | 2017-01-04 15:00:13 -0800 | [diff] [blame] | 41 | supportLibrary { |
| 42 | name 'Android AppCompat Library v7' |
| 43 | inceptionYear '2011' |
Kirill Grouchnikov | 5c5181c | 2017-05-16 10:58:53 -0700 | [diff] [blame] | 44 | 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] | 45 | } |