blob: 8d192ed25d02009b67755eb0f3e274862a0a91a3 [file] [log] [blame]
Aurimas Liutikas9697da72016-12-22 15:50:42 -08001apply plugin: android.support.SupportLibraryPlugin
Kirill Grouchnikovd3c53472016-05-10 08:02:18 -07002
Kirill Grouchnikovd3c53472016-05-10 08:02:18 -07003dependencies {
Aurimas Liutikas1989c3c2017-07-05 14:44:09 -07004 api project(':support-annotations')
5 api project(':support-compat')
Aurimas Liutikasf09d8582017-01-20 21:49:51 -08006
Aurimas Liutikas9edca682017-07-25 09:12:35 -07007 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 Liutikas1989c3c2017-07-05 14:44:09 -070011 androidTestImplementation project(':support-testutils')
Kirill Grouchnikovd3c53472016-05-10 08:02:18 -070012}
13
Kirill Grouchnikovd3c53472016-05-10 08:02:18 -070014android {
Kirill Grouchnikovd3c53472016-05-10 08:02:18 -070015 defaultConfig {
Aurimas Liutikasf7513062017-01-05 13:02:27 -080016 minSdkVersion 14
Kirill Grouchnikovd3c53472016-05-10 08:02:18 -070017 }
18
19 sourceSets {
Alan Viverette9439d702016-10-25 14:45:10 +010020 main.java.srcDirs = [
Alan Viverette9439d702016-10-25 14:45:10 +010021 'jellybean-mr2',
22 'kitkat',
23 'api21',
24 'api22',
25 'api23',
26 'api24',
Alan Viverette9439d702016-10-25 14:45:10 +010027 'java'
28 ]
Kirill Grouchnikovd3c53472016-05-10 08:02:18 -070029 main.aidl.srcDirs = ['java']
Ian Lake826ed4f2017-06-29 11:07:08 -070030 main.res.srcDirs 'res', 'res-public'
Kirill Grouchnikovd3c53472016-05-10 08:02:18 -070031 }
Hyundo Moon7ee78192017-04-24 17:48:41 +090032
33 buildTypes.all {
34 consumerProguardFiles 'proguard-rules.pro'
35 }
Kirill Grouchnikovd3c53472016-05-10 08:02:18 -070036}
37
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080038supportLibrary {
Kirill Grouchnikov5c5181c2017-05-16 10:58:53 -070039 name 'Android Support Library media compat'
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080040 inceptionYear '2011'
Kirill Grouchnikov5c5181c2017-05-16 10:58:53 -070041 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 -080042}