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 | archivesBaseName = 'support-fragment' |
| 3 | |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 4 | dependencies { |
| 5 | compile project(':support-compat') |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 6 | compile project(':support-core-ui') |
Kirill Grouchnikov | 5dd39aa | 2016-05-16 16:34:01 -0700 | [diff] [blame] | 7 | compile project(':support-core-utils') |
Aurimas Liutikas | f09d858 | 2017-01-20 21:49:51 -0800 | [diff] [blame^] | 8 | |
| 9 | androidTestCompile (libs.test_runner) { |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 10 | exclude module: 'support-annotations' |
| 11 | } |
Aurimas Liutikas | f09d858 | 2017-01-20 21:49:51 -0800 | [diff] [blame^] | 12 | androidTestCompile (libs.espresso_core) { |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 13 | exclude module: 'support-annotations' |
| 14 | } |
Aurimas Liutikas | f09d858 | 2017-01-20 21:49:51 -0800 | [diff] [blame^] | 15 | androidTestCompile libs.mockito_core |
| 16 | androidTestCompile libs.dexmaker |
| 17 | androidTestCompile libs.dexmaker_mockito |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 18 | } |
| 19 | |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 20 | android { |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 21 | compileSdkVersion project.ext.currentSdk |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 22 | |
| 23 | defaultConfig { |
Aurimas Liutikas | f751306 | 2017-01-05 13:02:27 -0800 | [diff] [blame] | 24 | minSdkVersion 14 |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 25 | } |
| 26 | |
| 27 | sourceSets { |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 28 | main.java.srcDirs = [ |
| 29 | 'gingerbread', |
| 30 | 'honeycomb', |
| 31 | 'jellybean', |
| 32 | 'api21', |
| 33 | 'java' |
| 34 | ] |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 35 | } |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 36 | } |
| 37 | |
Aurimas Liutikas | 16cd13b | 2017-01-04 15:00:13 -0800 | [diff] [blame] | 38 | supportLibrary { |
| 39 | name 'Android Support Library v4' |
| 40 | inceptionYear '2011' |
| 41 | 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 4 or later." |
| 42 | } |
| 43 | |