Aurimas Liutikas | 9697da7 | 2016-12-22 15:50:42 -0800 | [diff] [blame] | 1 | apply plugin: android.support.SupportLibraryPlugin |
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') |
Aurimas Liutikas | f09d858 | 2017-01-20 21:49:51 -0800 | [diff] [blame] | 5 | |
Aurimas Liutikas | 1989c3c | 2017-07-05 14:44:09 -0700 | [diff] [blame] | 6 | androidTestImplementation (libs.test_runner) { |
Kirill Grouchnikov | 3ac77bf | 2016-04-27 12:46:47 -0400 | [diff] [blame] | 7 | exclude module: 'support-annotations' |
| 8 | } |
Aurimas Liutikas | 1989c3c | 2017-07-05 14:44:09 -0700 | [diff] [blame] | 9 | androidTestImplementation (libs.espresso_core) { |
Kirill Grouchnikov | 3ac77bf | 2016-04-27 12:46:47 -0400 | [diff] [blame] | 10 | exclude module: 'support-annotations' |
| 11 | } |
Aurimas Liutikas | 1989c3c | 2017-07-05 14:44:09 -0700 | [diff] [blame] | 12 | androidTestImplementation libs.mockito_core |
| 13 | androidTestImplementation libs.dexmaker_mockito |
| 14 | androidTestImplementation project(':support-testutils') |
Kirill Grouchnikov | 3ac77bf | 2016-04-27 12:46:47 -0400 | [diff] [blame] | 15 | } |
| 16 | |
Kirill Grouchnikov | 3ac77bf | 2016-04-27 12:46:47 -0400 | [diff] [blame] | 17 | android { |
Kirill Grouchnikov | 3ac77bf | 2016-04-27 12:46:47 -0400 | [diff] [blame] | 18 | defaultConfig { |
Aurimas Liutikas | f751306 | 2017-01-05 13:02:27 -0800 | [diff] [blame] | 19 | minSdkVersion 14 |
Kirill Grouchnikov | 3ac77bf | 2016-04-27 12:46:47 -0400 | [diff] [blame] | 20 | } |
| 21 | |
| 22 | sourceSets { |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 23 | main.java.srcDirs = [ |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 24 | 'ics', |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 25 | 'jellybean', |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 26 | 'kitkat', |
| 27 | 'api20', |
| 28 | 'api21', |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 29 | 'api23', |
| 30 | 'api24', |
Vladislav Kaznacheev | daa85ce | 2016-11-22 17:32:12 -0800 | [diff] [blame] | 31 | 'api26', |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 32 | 'java' |
| 33 | ] |
Kirill Grouchnikov | 3ac77bf | 2016-04-27 12:46:47 -0400 | [diff] [blame] | 34 | main.aidl.srcDirs = ['java'] |
Clara Bayarri | 543fd29 | 2017-03-24 11:29:49 +0000 | [diff] [blame] | 35 | main.res.srcDirs 'res', 'res-public' |
| 36 | } |
| 37 | |
| 38 | aaptOptions { |
| 39 | noCompress 'ttf' |
Kirill Grouchnikov | 3ac77bf | 2016-04-27 12:46:47 -0400 | [diff] [blame] | 40 | } |
Kirill Grouchnikov | 3ac77bf | 2016-04-27 12:46:47 -0400 | [diff] [blame] | 41 | } |
| 42 | |
Aurimas Liutikas | 16cd13b | 2017-01-04 15:00:13 -0800 | [diff] [blame] | 43 | supportLibrary { |
| 44 | name 'Android Support Library compat' |
| 45 | inceptionYear '2015' |
Kirill Grouchnikov | 5c5181c | 2017-05-16 10:58:53 -0700 | [diff] [blame] | 46 | 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] | 47 | } |