Aurimas Liutikas | 9697da7 | 2016-12-22 15:50:42 -0800 | [diff] [blame] | 1 | apply plugin: android.support.SupportLibraryPlugin |
Kirill Grouchnikov | d3c5347 | 2016-05-10 08:02:18 -0700 | [diff] [blame] | 2 | archivesBaseName = 'support-media-compat' |
| 3 | |
Kirill Grouchnikov | d3c5347 | 2016-05-10 08:02:18 -0700 | [diff] [blame] | 4 | dependencies { |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 5 | compile project(':support-annotations') |
Kirill Grouchnikov | d3c5347 | 2016-05-10 08:02:18 -0700 | [diff] [blame] | 6 | compile project(':support-compat') |
Aurimas Liutikas | f09d858 | 2017-01-20 21:49:51 -0800 | [diff] [blame] | 7 | |
Dan Sandler | 328a099 | 2017-03-02 20:35:03 -0500 | [diff] [blame] | 8 | androidTestCompile(libs.test_runner) { |
Kirill Grouchnikov | d3c5347 | 2016-05-10 08:02:18 -0700 | [diff] [blame] | 9 | exclude module: 'support-annotations' |
| 10 | } |
Dan Sandler | 328a099 | 2017-03-02 20:35:03 -0500 | [diff] [blame] | 11 | androidTestCompile(libs.espresso_core) { |
Kirill Grouchnikov | d3c5347 | 2016-05-10 08:02:18 -0700 | [diff] [blame] | 12 | exclude module: 'support-annotations' |
| 13 | } |
Aurimas Liutikas | 963facb | 2017-06-12 10:10:33 -0700 | [diff] [blame] | 14 | androidTestCompile libs.mockito_core |
| 15 | androidTestCompile libs.dexmaker_mockito |
Aurimas Liutikas | 6d20a52 | 2017-03-10 17:13:03 -0800 | [diff] [blame] | 16 | androidTestCompile project(':support-testutils') |
Kirill Grouchnikov | d3c5347 | 2016-05-10 08:02:18 -0700 | [diff] [blame] | 17 | } |
| 18 | |
Kirill Grouchnikov | d3c5347 | 2016-05-10 08:02:18 -0700 | [diff] [blame] | 19 | android { |
Kirill Grouchnikov | d3c5347 | 2016-05-10 08:02:18 -0700 | [diff] [blame] | 20 | defaultConfig { |
Aurimas Liutikas | f751306 | 2017-01-05 13:02:27 -0800 | [diff] [blame] | 21 | minSdkVersion 14 |
Kirill Grouchnikov | d3c5347 | 2016-05-10 08:02:18 -0700 | [diff] [blame] | 22 | } |
| 23 | |
| 24 | sourceSets { |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 25 | main.java.srcDirs = [ |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 26 | 'jellybean-mr2', |
| 27 | 'kitkat', |
| 28 | 'api21', |
| 29 | 'api22', |
| 30 | 'api23', |
| 31 | 'api24', |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 32 | 'java' |
| 33 | ] |
Kirill Grouchnikov | d3c5347 | 2016-05-10 08:02:18 -0700 | [diff] [blame] | 34 | main.aidl.srcDirs = ['java'] |
| 35 | } |
Hyundo Moon | 7ee7819 | 2017-04-24 17:48:41 +0900 | [diff] [blame] | 36 | |
| 37 | buildTypes.all { |
| 38 | consumerProguardFiles 'proguard-rules.pro' |
| 39 | } |
Kirill Grouchnikov | d3c5347 | 2016-05-10 08:02:18 -0700 | [diff] [blame] | 40 | } |
| 41 | |
Aurimas Liutikas | 16cd13b | 2017-01-04 15:00:13 -0800 | [diff] [blame] | 42 | supportLibrary { |
Kirill Grouchnikov | 5c5181c | 2017-05-16 10:58:53 -0700 | [diff] [blame] | 43 | name 'Android Support Library media compat' |
Aurimas Liutikas | 16cd13b | 2017-01-04 15:00:13 -0800 | [diff] [blame] | 44 | inceptionYear '2011' |
Kirill Grouchnikov | 5c5181c | 2017-05-16 10:58:53 -0700 | [diff] [blame] | 45 | 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] | 46 | } |