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 { |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 21 | defaultConfig { |
Aurimas Liutikas | f751306 | 2017-01-05 13:02:27 -0800 | [diff] [blame] | 22 | minSdkVersion 14 |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 23 | } |
| 24 | |
| 25 | sourceSets { |
Aurimas Liutikas | 434607f | 2017-04-10 14:16:15 -0700 | [diff] [blame] | 26 | main.java.srcDirs = ['java'] |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 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 { |
| 31 | name 'Android Support Library v4' |
| 32 | inceptionYear '2011' |
| 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 4 or later." |
| 34 | } |
| 35 | |