blob: 54b108d1a53ef8fd628ea7757646dc9043d0c55d [file] [log] [blame]
Aurimas Liutikasca04e9a2017-08-23 21:19:51 -07001apply plugin: android.support.SupportAndroidLibraryPlugin
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')
Sergey Vasilinetsc2986282017-08-24 15:46:12 -07005 api (libs.arch_lifecycle_runtime) {
6 exclude module: 'support-annotations'
Aurimas Liutikaseb45a182017-10-12 14:33:25 -07007 transitive = true
Sergey Vasilinetsc2986282017-08-24 15:46:12 -07008 }
Aurimas Liutikasf09d8582017-01-20 21:49:51 -08009
Aurimas Liutikas9edca682017-07-25 09:12:35 -070010 androidTestImplementation libs.test_runner, { exclude module: 'support-annotations' }
11 androidTestImplementation libs.espresso_core, { exclude module: 'support-annotations' }
12 androidTestImplementation libs.mockito_core, { exclude group: 'net.bytebuddy' } // DexMaker has it"s own MockMaker
13 androidTestImplementation libs.dexmaker_mockito, { exclude group: 'net.bytebuddy' } // DexMaker has it"s own MockMaker
Kirill Grouchnikov3743a7e2017-09-26 17:55:05 -040014 androidTestImplementation project(':support-testutils'), {
15 exclude group: 'com.android.support', module: 'support-compat'
16 }
Kirill Grouchnikov3ac77bf2016-04-27 12:46:47 -040017}
18
Kirill Grouchnikov3ac77bf2016-04-27 12:46:47 -040019android {
Kirill Grouchnikov3ac77bf2016-04-27 12:46:47 -040020 defaultConfig {
Aurimas Liutikasf7513062017-01-05 13:02:27 -080021 minSdkVersion 14
Kirill Grouchnikov3ac77bf2016-04-27 12:46:47 -040022 }
23
24 sourceSets {
Aurimas Liutikas034bc502017-10-02 17:45:56 -070025 main.aidl.srcDirs = ['src/main/java']
Clara Bayarri543fd292017-03-24 11:29:49 +000026 main.res.srcDirs 'res', 'res-public'
27 }
28
29 aaptOptions {
30 noCompress 'ttf'
Kirill Grouchnikov3ac77bf2016-04-27 12:46:47 -040031 }
Kirill Grouchnikov3ac77bf2016-04-27 12:46:47 -040032}
33
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080034supportLibrary {
35 name 'Android Support Library compat'
Aurimas Liutikase1f39f02017-08-23 17:59:58 -070036 publish true
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080037 inceptionYear '2015'
Kirill Grouchnikov5c5181c2017-05-16 10:58:53 -070038 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 -080039}