Aurimas Liutikas | ca04e9a | 2017-08-23 21:19:51 -0700 | [diff] [blame] | 1 | apply plugin: android.support.SupportAndroidLibraryPlugin |
Kirill Grouchnikov | 3ac77bf | 2016-04-27 12:46:47 -0400 | [diff] [blame] | 2 | |
Kirill Grouchnikov | 3ac77bf | 2016-04-27 12:46:47 -0400 | [diff] [blame] | 3 | dependencies { |
Aurimas Liutikas | 1989c3c | 2017-07-05 14:44:09 -0700 | [diff] [blame] | 4 | api project(':support-annotations') |
Sergey Vasilinets | c298628 | 2017-08-24 15:46:12 -0700 | [diff] [blame] | 5 | api (libs.arch_lifecycle_runtime) { |
| 6 | exclude module: 'support-annotations' |
Aurimas Liutikas | eb45a18 | 2017-10-12 14:33:25 -0700 | [diff] [blame] | 7 | transitive = true |
Sergey Vasilinets | c298628 | 2017-08-24 15:46:12 -0700 | [diff] [blame] | 8 | } |
Aurimas Liutikas | f09d858 | 2017-01-20 21:49:51 -0800 | [diff] [blame] | 9 | |
Aurimas Liutikas | 9edca68 | 2017-07-25 09:12:35 -0700 | [diff] [blame] | 10 | 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 Grouchnikov | 3743a7e | 2017-09-26 17:55:05 -0400 | [diff] [blame^] | 14 | androidTestImplementation project(':support-testutils'), { |
| 15 | exclude group: 'com.android.support', module: 'support-compat' |
| 16 | } |
Kirill Grouchnikov | 3ac77bf | 2016-04-27 12:46:47 -0400 | [diff] [blame] | 17 | } |
| 18 | |
Kirill Grouchnikov | 3ac77bf | 2016-04-27 12:46:47 -0400 | [diff] [blame] | 19 | android { |
Kirill Grouchnikov | 3ac77bf | 2016-04-27 12:46:47 -0400 | [diff] [blame] | 20 | defaultConfig { |
Aurimas Liutikas | f751306 | 2017-01-05 13:02:27 -0800 | [diff] [blame] | 21 | minSdkVersion 14 |
Kirill Grouchnikov | 3ac77bf | 2016-04-27 12:46:47 -0400 | [diff] [blame] | 22 | } |
| 23 | |
| 24 | sourceSets { |
Aurimas Liutikas | 034bc50 | 2017-10-02 17:45:56 -0700 | [diff] [blame] | 25 | main.aidl.srcDirs = ['src/main/java'] |
Clara Bayarri | 543fd29 | 2017-03-24 11:29:49 +0000 | [diff] [blame] | 26 | main.res.srcDirs 'res', 'res-public' |
| 27 | } |
| 28 | |
| 29 | aaptOptions { |
| 30 | noCompress 'ttf' |
Kirill Grouchnikov | 3ac77bf | 2016-04-27 12:46:47 -0400 | [diff] [blame] | 31 | } |
Kirill Grouchnikov | 3ac77bf | 2016-04-27 12:46:47 -0400 | [diff] [blame] | 32 | } |
| 33 | |
Aurimas Liutikas | 16cd13b | 2017-01-04 15:00:13 -0800 | [diff] [blame] | 34 | supportLibrary { |
| 35 | name 'Android Support Library compat' |
Aurimas Liutikas | e1f39f0 | 2017-08-23 17:59:58 -0700 | [diff] [blame] | 36 | publish true |
Aurimas Liutikas | 16cd13b | 2017-01-04 15:00:13 -0800 | [diff] [blame] | 37 | inceptionYear '2015' |
Kirill Grouchnikov | 5c5181c | 2017-05-16 10:58:53 -0700 | [diff] [blame] | 38 | 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] | 39 | } |