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 | d4219a7 | 2018-02-08 16:00:17 -0800 | [diff] [blame] | 4 | |
| 5 | plugins { |
| 6 | id("SupportAndroidLibraryPlugin") |
| 7 | } |
| 8 | |
| 9 | dependencies { |
Aurimas Liutikas | ac5fe7c | 2018-03-06 14:40:53 -0800 | [diff] [blame] | 10 | api(project(":annotation")) |
| 11 | api(project(":core")) |
Aurimas Liutikas | d4219a7 | 2018-02-08 16:00:17 -0800 | [diff] [blame] | 12 | api(project(":customview")) |
| 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) |
| 16 | androidTestImplementation(ESPRESSO_CONTRIB_TMP, libs.exclude_for_espresso) |
Aurimas Liutikas | d4219a7 | 2018-02-08 16:00:17 -0800 | [diff] [blame] | 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.coordinatorlayout', module: 'coordinatorlayout' |
Aurimas Liutikas | d4219a7 | 2018-02-08 16:00:17 -0800 | [diff] [blame] | 20 | } |
| 21 | } |
| 22 | |
| 23 | android { |
| 24 | sourceSets { |
| 25 | main.res.srcDirs = [ |
| 26 | 'src/main/res', |
| 27 | 'src/main/res-public' |
| 28 | ] |
| 29 | } |
| 30 | buildTypes.all { |
| 31 | consumerProguardFiles 'proguard-rules.pro' |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | supportLibrary { |
| 36 | name = "Android Support Library Coordinator Layout" |
| 37 | publish = true |
| 38 | mavenVersion = LibraryVersions.SUPPORT_LIBRARY |
Aurimas Liutikas | ac5fe7c | 2018-03-06 14:40:53 -0800 | [diff] [blame] | 39 | mavenGroup = LibraryGroups.COORDINATORLAYOUT |
Aurimas Liutikas | d4219a7 | 2018-02-08 16:00:17 -0800 | [diff] [blame] | 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 14 or later." |
| 42 | } |