Aurimas Liutikas | 526389b | 2018-02-27 14:01:24 -0800 | [diff] [blame] | 1 | import static androidx.build.dependencies.DependenciesKt.* |
| 2 | import androidx.build.LibraryGroups |
| 3 | import androidx.build.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 | } |
Kirill Grouchnikov | 3ac77bf | 2016-04-27 12:46:47 -0400 | [diff] [blame] | 8 | |
Kirill Grouchnikov | 3ac77bf | 2016-04-27 12:46:47 -0400 | [diff] [blame] | 9 | dependencies { |
Aurimas Liutikas | ac5fe7c | 2018-03-06 14:40:53 -0800 | [diff] [blame] | 10 | api(project(":annotation")) |
| 11 | api(project(":collection")) |
Aurimas Liutikas | 62d3e1d | 2017-11-28 15:28:01 -0800 | [diff] [blame] | 12 | api(ARCH_LIFECYCLE_RUNTIME, libs.exclude_annotations_transitive) |
Aurimas Liutikas | f09d858 | 2017-01-20 21:49:51 -0800 | [diff] [blame] | 13 | |
Filip Pavlis | a879294 | 2018-03-08 21:01:59 +0000 | [diff] [blame] | 14 | androidTestImplementation(TEST_RUNNER_TMP, libs.exclude_for_espresso) |
| 15 | androidTestImplementation(ESPRESSO_CORE_TMP, libs.exclude_for_espresso) |
Aurimas Liutikas | b8fd9b6 | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 16 | androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker |
| 17 | androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker |
Aurimas Liutikas | 67171c8 | 2018-02-27 13:10:25 -0800 | [diff] [blame] | 18 | androidTestImplementation project(':internal-testutils'), { |
Aurimas Liutikas | ac5fe7c | 2018-03-06 14:40:53 -0800 | [diff] [blame] | 19 | exclude group: 'androidx.core', module: 'core' |
Kirill Grouchnikov | 3743a7e | 2017-09-26 17:55:05 -0400 | [diff] [blame] | 20 | } |
Kirill Grouchnikov | 3ac77bf | 2016-04-27 12:46:47 -0400 | [diff] [blame] | 21 | } |
| 22 | |
Kirill Grouchnikov | 3ac77bf | 2016-04-27 12:46:47 -0400 | [diff] [blame] | 23 | android { |
Kirill Grouchnikov | 3ac77bf | 2016-04-27 12:46:47 -0400 | [diff] [blame] | 24 | sourceSets { |
Clara Bayarri | 543fd29 | 2017-03-24 11:29:49 +0000 | [diff] [blame] | 25 | main.res.srcDirs 'res', 'res-public' |
| 26 | } |
| 27 | |
| 28 | aaptOptions { |
| 29 | noCompress 'ttf' |
Kirill Grouchnikov | 3ac77bf | 2016-04-27 12:46:47 -0400 | [diff] [blame] | 30 | } |
Kirill Grouchnikov | 3ac77bf | 2016-04-27 12:46:47 -0400 | [diff] [blame] | 31 | } |
| 32 | |
Aurimas Liutikas | 16cd13b | 2017-01-04 15:00:13 -0800 | [diff] [blame] | 33 | supportLibrary { |
Aurimas Liutikas | ea5ee82 | 2017-11-06 12:52:28 -0800 | [diff] [blame] | 34 | name = "Android Support Library compat" |
| 35 | publish = true |
Aurimas Liutikas | 78c1ab7 | 2017-11-08 13:33:51 -0800 | [diff] [blame] | 36 | mavenVersion = LibraryVersions.SUPPORT_LIBRARY |
Aurimas Liutikas | ac5fe7c | 2018-03-06 14:40:53 -0800 | [diff] [blame] | 37 | mavenGroup = LibraryGroups.CORE |
Aurimas Liutikas | ea5ee82 | 2017-11-06 12:52:28 -0800 | [diff] [blame] | 38 | inceptionYear = "2015" |
| 39 | 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] | 40 | } |