Aurimas Liutikas | ca04e9a | 2017-08-23 21:19:51 -0700 | [diff] [blame] | 1 | apply plugin: android.support.SupportAndroidLibraryPlugin |
Kirill Grouchnikov | d3c5347 | 2016-05-10 08:02:18 -0700 | [diff] [blame] | 2 | |
Kirill Grouchnikov | d3c5347 | 2016-05-10 08:02:18 -0700 | [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 |
Aurimas Liutikas | 1989c3c | 2017-07-05 14:44:09 -0700 | [diff] [blame] | 11 | androidTestImplementation project(':support-testutils') |
Kirill Grouchnikov | d3c5347 | 2016-05-10 08:02:18 -0700 | [diff] [blame] | 12 | } |
| 13 | |
Kirill Grouchnikov | d3c5347 | 2016-05-10 08:02:18 -0700 | [diff] [blame] | 14 | android { |
Kirill Grouchnikov | d3c5347 | 2016-05-10 08:02:18 -0700 | [diff] [blame] | 15 | defaultConfig { |
Aurimas Liutikas | f751306 | 2017-01-05 13:02:27 -0800 | [diff] [blame] | 16 | minSdkVersion 14 |
Kirill Grouchnikov | d3c5347 | 2016-05-10 08:02:18 -0700 | [diff] [blame] | 17 | } |
| 18 | |
| 19 | sourceSets { |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 20 | main.java.srcDirs = [ |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 21 | 'jellybean-mr2', |
| 22 | 'kitkat', |
| 23 | 'api21', |
| 24 | 'api22', |
| 25 | 'api23', |
| 26 | 'api24', |
Hyundo Moon | 676cb6f | 2017-08-31 15:08:12 +0900 | [diff] [blame] | 27 | 'api26', |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 28 | 'java' |
| 29 | ] |
Kirill Grouchnikov | d3c5347 | 2016-05-10 08:02:18 -0700 | [diff] [blame] | 30 | main.aidl.srcDirs = ['java'] |
Ian Lake | 826ed4f | 2017-06-29 11:07:08 -0700 | [diff] [blame] | 31 | main.res.srcDirs 'res', 'res-public' |
Kirill Grouchnikov | d3c5347 | 2016-05-10 08:02:18 -0700 | [diff] [blame] | 32 | } |
Hyundo Moon | 7ee7819 | 2017-04-24 17:48:41 +0900 | [diff] [blame] | 33 | |
| 34 | buildTypes.all { |
| 35 | consumerProguardFiles 'proguard-rules.pro' |
| 36 | } |
Kirill Grouchnikov | d3c5347 | 2016-05-10 08:02:18 -0700 | [diff] [blame] | 37 | } |
| 38 | |
Aurimas Liutikas | 16cd13b | 2017-01-04 15:00:13 -0800 | [diff] [blame] | 39 | supportLibrary { |
Kirill Grouchnikov | 5c5181c | 2017-05-16 10:58:53 -0700 | [diff] [blame] | 40 | name 'Android Support Library media compat' |
Aurimas Liutikas | e1f39f0 | 2017-08-23 17:59:58 -0700 | [diff] [blame] | 41 | publish true |
Aurimas Liutikas | 16cd13b | 2017-01-04 15:00:13 -0800 | [diff] [blame] | 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 | } |