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