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 | |
Xavier Ducrohet | 86fb8ef | 2013-02-22 15:04:37 -0800 | [diff] [blame] | 3 | dependencies { |
Aurimas Liutikas | 1989c3c | 2017-07-05 14:44:09 -0700 | [diff] [blame] | 4 | api project(':support-annotations') |
| 5 | api project(':support-compat') |
Aurimas Liutikas | f09d858 | 2017-01-20 21:49:51 -0800 | [diff] [blame] | 6 | |
Aurimas Liutikas | 9edca68 | 2017-07-25 09:12:35 -0700 | [diff] [blame] | 7 | androidTestImplementation libs.test_runner, { exclude module: 'support-annotations' } |
| 8 | androidTestImplementation libs.espresso_core, { exclude module: 'support-annotations' } |
| 9 | androidTestImplementation libs.mockito_core, { exclude group: 'net.bytebuddy' } // DexMaker has it"s own MockMaker |
| 10 | androidTestImplementation libs.dexmaker_mockito, { exclude group: 'net.bytebuddy' } // DexMaker has it"s own MockMaker |
Griff Hazen | 43227bb | 2014-05-28 07:59:33 -0700 | [diff] [blame] | 11 | } |
| 12 | |
| 13 | android { |
Griff Hazen | 43227bb | 2014-05-28 07:59:33 -0700 | [diff] [blame] | 14 | defaultConfig { |
Aurimas Liutikas | f751306 | 2017-01-05 13:02:27 -0800 | [diff] [blame] | 15 | minSdkVersion 14 |
Griff Hazen | 43227bb | 2014-05-28 07:59:33 -0700 | [diff] [blame] | 16 | } |
| 17 | |
| 18 | sourceSets { |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 19 | main.java.srcDirs = [ |
| 20 | 'gingerbread', |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 21 | 'kitkat', |
| 22 | 'api20', |
| 23 | 'api21', |
| 24 | 'api23', |
| 25 | 'api24', |
| 26 | 'java' |
| 27 | ] |
Chris Banes | af26d9f | 2015-01-20 19:13:52 +0000 | [diff] [blame] | 28 | } |
Griff Hazen | 43227bb | 2014-05-28 07:59:33 -0700 | [diff] [blame] | 29 | } |
| 30 | |
Aurimas Liutikas | 16cd13b | 2017-01-04 15:00:13 -0800 | [diff] [blame] | 31 | supportLibrary { |
Kirill Grouchnikov | 5c5181c | 2017-05-16 10:58:53 -0700 | [diff] [blame] | 32 | name 'Android Support Library core utils' |
Aurimas Liutikas | 16cd13b | 2017-01-04 15:00:13 -0800 | [diff] [blame] | 33 | inceptionYear '2011' |
Kirill Grouchnikov | 5c5181c | 2017-05-16 10:58:53 -0700 | [diff] [blame] | 34 | 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] | 35 | } |