Aurimas Liutikas | b8fd9b6 | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 1 | import static android.support.dependencies.DependenciesKt.* |
Aurimas Liutikas | 44d7d86 | 2017-10-27 17:55:06 -0700 | [diff] [blame] | 2 | import android.support.LibraryGroups |
Aurimas Liutikas | 78c1ab7 | 2017-11-08 13:33:51 -0800 | [diff] [blame] | 3 | import android.support.LibraryVersions |
Aurimas Liutikas | 44d7d86 | 2017-10-27 17:55:06 -0700 | [diff] [blame] | 4 | |
Aurimas Liutikas | f8b708a | 2017-11-02 16:07:13 -0700 | [diff] [blame] | 5 | plugins { |
| 6 | id("SupportAndroidLibraryPlugin") |
| 7 | } |
Xavier Ducrohet | 86fb8ef | 2013-02-22 15:04:37 -0800 | [diff] [blame] | 8 | |
Xavier Ducrohet | 86fb8ef | 2013-02-22 15:04:37 -0800 | [diff] [blame] | 9 | dependencies { |
Aurimas Liutikas | b8fd9b6 | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 10 | api(project(":support-annotations")) |
| 11 | api(project(":support-compat")) |
Aurimas Liutikas | f09d858 | 2017-01-20 21:49:51 -0800 | [diff] [blame] | 12 | |
Jake Wharton | 66807fc | 2017-12-05 14:44:35 -0500 | [diff] [blame] | 13 | androidTestImplementation(TEST_RUNNER) |
| 14 | androidTestImplementation(ESPRESSO_CORE) |
Aurimas Liutikas | b8fd9b6 | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 15 | androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker |
| 16 | androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker |
Griff Hazen | 43227bb | 2014-05-28 07:59:33 -0700 | [diff] [blame] | 17 | } |
| 18 | |
| 19 | android { |
Griff Hazen | 43227bb | 2014-05-28 07:59:33 -0700 | [diff] [blame] | 20 | sourceSets { |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 21 | main.java.srcDirs = [ |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 22 | 'kitkat', |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 23 | 'api21', |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 24 | 'java' |
| 25 | ] |
Chris Banes | af26d9f | 2015-01-20 19:13:52 +0000 | [diff] [blame] | 26 | } |
Griff Hazen | 43227bb | 2014-05-28 07:59:33 -0700 | [diff] [blame] | 27 | } |
| 28 | |
Aurimas Liutikas | 16cd13b | 2017-01-04 15:00:13 -0800 | [diff] [blame] | 29 | supportLibrary { |
Aurimas Liutikas | ea5ee82 | 2017-11-06 12:52:28 -0800 | [diff] [blame] | 30 | name = "Android Support Library core utils" |
| 31 | publish = true |
Aurimas Liutikas | 78c1ab7 | 2017-11-08 13:33:51 -0800 | [diff] [blame] | 32 | mavenVersion = LibraryVersions.SUPPORT_LIBRARY |
Aurimas Liutikas | 44d7d86 | 2017-10-27 17:55:06 -0700 | [diff] [blame] | 33 | mavenGroup = LibraryGroups.SUPPORT |
Aurimas Liutikas | ea5ee82 | 2017-11-06 12:52:28 -0800 | [diff] [blame] | 34 | inceptionYear = "2011" |
| 35 | 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." |
| 36 | legacySourceLocation = true |
Aurimas Liutikas | 16cd13b | 2017-01-04 15:00:13 -0800 | [diff] [blame] | 37 | } |