Aurimas Liutikas | 9697da7 | 2016-12-22 15:50:42 -0800 | [diff] [blame] | 1 | apply plugin: android.support.SupportLibraryPlugin |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 2 | |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 3 | dependencies { |
Aurimas Liutikas | 1989c3c | 2017-07-05 14:44:09 -0700 | [diff] [blame] | 4 | api project(':support-annotations') |
| 5 | api project(':support-compat') |
Aurimas Liutikas | f09d858 | 2017-01-20 21:49:51 -0800 | [diff] [blame] | 6 | |
Aurimas Liutikas | 9edca68 | 2017-07-25 09:12:35 -0700 | [diff] [blame] | 7 | 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 Liutikas | 1989c3c | 2017-07-05 14:44:09 -0700 | [diff] [blame] | 11 | androidTestImplementation project(':support-testutils') |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 12 | } |
| 13 | |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 14 | android { |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 15 | defaultConfig { |
Aurimas Liutikas | f751306 | 2017-01-05 13:02:27 -0800 | [diff] [blame] | 16 | minSdkVersion 14 |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 17 | } |
| 18 | |
| 19 | sourceSets { |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 20 | main.java.srcDirs = [ |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 21 | 'java' |
| 22 | ] |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 23 | } |
| 24 | |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 25 | buildTypes.all { |
| 26 | consumerProguardFiles 'proguard-rules.pro' |
| 27 | } |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 28 | } |
| 29 | |
Aurimas Liutikas | 16cd13b | 2017-01-04 15:00:13 -0800 | [diff] [blame] | 30 | supportLibrary { |
Kirill Grouchnikov | 5c5181c | 2017-05-16 10:58:53 -0700 | [diff] [blame] | 31 | name 'Android Support Library core UI' |
Aurimas Liutikas | 16cd13b | 2017-01-04 15:00:13 -0800 | [diff] [blame] | 32 | inceptionYear '2011' |
Kirill Grouchnikov | 5c5181c | 2017-05-16 10:58:53 -0700 | [diff] [blame] | 33 | 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] | 34 | } |