blob: 7e9468b3b0bf948d1f015cc201b7444da02d16fe [file] [log] [blame]
Aurimas Liutikas9697da72016-12-22 15:50:42 -08001apply plugin: android.support.SupportLibraryPlugin
Kirill Grouchnikov3ac77bf2016-04-27 12:46:47 -04002
Kirill Grouchnikov3ac77bf2016-04-27 12:46:47 -04003dependencies {
Aurimas Liutikas1989c3c2017-07-05 14:44:09 -07004 api project(':support-annotations')
Aurimas Liutikasf09d8582017-01-20 21:49:51 -08005
Aurimas Liutikas1989c3c2017-07-05 14:44:09 -07006 androidTestImplementation (libs.test_runner) {
Kirill Grouchnikov3ac77bf2016-04-27 12:46:47 -04007 exclude module: 'support-annotations'
8 }
Aurimas Liutikas1989c3c2017-07-05 14:44:09 -07009 androidTestImplementation (libs.espresso_core) {
Kirill Grouchnikov3ac77bf2016-04-27 12:46:47 -040010 exclude module: 'support-annotations'
11 }
Aurimas Liutikas1989c3c2017-07-05 14:44:09 -070012 androidTestImplementation libs.mockito_core
13 androidTestImplementation libs.dexmaker_mockito
14 androidTestImplementation project(':support-testutils')
Kirill Grouchnikov3ac77bf2016-04-27 12:46:47 -040015}
16
Kirill Grouchnikov3ac77bf2016-04-27 12:46:47 -040017android {
Kirill Grouchnikov3ac77bf2016-04-27 12:46:47 -040018 defaultConfig {
Aurimas Liutikasf7513062017-01-05 13:02:27 -080019 minSdkVersion 14
Kirill Grouchnikov3ac77bf2016-04-27 12:46:47 -040020 }
21
22 sourceSets {
Alan Viverette9439d702016-10-25 14:45:10 +010023 main.java.srcDirs = [
Alan Viverette9439d702016-10-25 14:45:10 +010024 'ics',
Alan Viverette9439d702016-10-25 14:45:10 +010025 'jellybean',
Alan Viverette9439d702016-10-25 14:45:10 +010026 'kitkat',
27 'api20',
28 'api21',
Alan Viverette9439d702016-10-25 14:45:10 +010029 'api23',
30 'api24',
Vladislav Kaznacheevdaa85ce2016-11-22 17:32:12 -080031 'api26',
Alan Viverette9439d702016-10-25 14:45:10 +010032 'java'
33 ]
Kirill Grouchnikov3ac77bf2016-04-27 12:46:47 -040034 main.aidl.srcDirs = ['java']
Clara Bayarri543fd292017-03-24 11:29:49 +000035 main.res.srcDirs 'res', 'res-public'
36 }
37
38 aaptOptions {
39 noCompress 'ttf'
Kirill Grouchnikov3ac77bf2016-04-27 12:46:47 -040040 }
Kirill Grouchnikov3ac77bf2016-04-27 12:46:47 -040041}
42
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080043supportLibrary {
44 name 'Android Support Library compat'
45 inceptionYear '2015'
Kirill Grouchnikov5c5181c2017-05-16 10:58:53 -070046 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 -080047}