blob: 9d28f8045fe96753f720064b487e4112a4426bef [file] [log] [blame]
Aurimas Liutikas9697da72016-12-22 15:50:42 -08001apply plugin: android.support.SupportLibraryPlugin
Kirill Grouchnikovd3c53472016-05-10 08:02:18 -07002archivesBaseName = 'support-media-compat'
3
Kirill Grouchnikovd3c53472016-05-10 08:02:18 -07004dependencies {
Alan Viverette9439d702016-10-25 14:45:10 +01005 compile project(':support-annotations')
Kirill Grouchnikovd3c53472016-05-10 08:02:18 -07006 compile project(':support-compat')
Aurimas Liutikasf09d8582017-01-20 21:49:51 -08007
Dan Sandler328a0992017-03-02 20:35:03 -05008 androidTestCompile(libs.test_runner) {
Kirill Grouchnikovd3c53472016-05-10 08:02:18 -07009 exclude module: 'support-annotations'
10 }
Dan Sandler328a0992017-03-02 20:35:03 -050011 androidTestCompile(libs.espresso_core) {
Kirill Grouchnikovd3c53472016-05-10 08:02:18 -070012 exclude module: 'support-annotations'
13 }
Aurimas Liutikas963facb2017-06-12 10:10:33 -070014 androidTestCompile libs.mockito_core
15 androidTestCompile libs.dexmaker_mockito
Aurimas Liutikas6d20a522017-03-10 17:13:03 -080016 androidTestCompile project(':support-testutils')
Kirill Grouchnikovd3c53472016-05-10 08:02:18 -070017}
18
Kirill Grouchnikovd3c53472016-05-10 08:02:18 -070019android {
Kirill Grouchnikovd3c53472016-05-10 08:02:18 -070020 defaultConfig {
Aurimas Liutikasf7513062017-01-05 13:02:27 -080021 minSdkVersion 14
Kirill Grouchnikovd3c53472016-05-10 08:02:18 -070022 }
23
24 sourceSets {
Alan Viverette9439d702016-10-25 14:45:10 +010025 main.java.srcDirs = [
Alan Viverette9439d702016-10-25 14:45:10 +010026 'jellybean-mr2',
27 'kitkat',
28 'api21',
29 'api22',
30 'api23',
31 'api24',
Alan Viverette9439d702016-10-25 14:45:10 +010032 'java'
33 ]
Kirill Grouchnikovd3c53472016-05-10 08:02:18 -070034 main.aidl.srcDirs = ['java']
35 }
Hyundo Moon7ee78192017-04-24 17:48:41 +090036
37 buildTypes.all {
38 consumerProguardFiles 'proguard-rules.pro'
39 }
Kirill Grouchnikovd3c53472016-05-10 08:02:18 -070040}
41
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080042supportLibrary {
Kirill Grouchnikov5c5181c2017-05-16 10:58:53 -070043 name 'Android Support Library media compat'
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080044 inceptionYear '2011'
Kirill Grouchnikov5c5181c2017-05-16 10:58:53 -070045 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 Liutikas16cd13b2017-01-04 15:00:13 -080046}