Jason Monk | 8a452e9 | 2017-10-31 19:21:47 -0400 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2017 The Android Open Source Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
Aurimas Liutikas | 526389b | 2018-02-27 14:01:24 -0800 | [diff] [blame] | 17 | import static androidx.build.dependencies.DependenciesKt.* |
| 18 | import androidx.build.LibraryVersions |
| 19 | import androidx.build.LibraryGroups |
Jason Monk | db7ed47 | 2017-11-14 19:31:23 -0500 | [diff] [blame] | 20 | |
Jason Monk | 8a452e9 | 2017-10-31 19:21:47 -0400 | [diff] [blame] | 21 | plugins { |
| 22 | id("SupportAndroidLibraryPlugin") |
| 23 | } |
| 24 | |
| 25 | dependencies { |
Aurimas Liutikas | 4d33d5f | 2018-04-10 11:09:27 -0700 | [diff] [blame] | 26 | implementation(project(":slice-core")) |
| 27 | implementation(project(":slice-builders")) |
Aurimas Liutikas | ac5fe7c | 2018-03-06 14:40:53 -0800 | [diff] [blame] | 28 | implementation(project(":recyclerview")) |
Sergey Vasilinets | 48bc9f0 | 2018-02-28 13:27:38 -0800 | [diff] [blame] | 29 | api(ARCH_LIFECYCLE_LIVEDATA_CORE, libs.exclude_annotations_transitive) |
Jason Monk | 901e2a6 | 2017-12-18 15:40:24 -0500 | [diff] [blame] | 30 | |
Filip Pavlis | a879294 | 2018-03-08 21:01:59 +0000 | [diff] [blame] | 31 | androidTestImplementation(TEST_RUNNER_TMP, libs.exclude_for_espresso) |
| 32 | androidTestImplementation(ESPRESSO_CORE_TMP, libs.exclude_for_espresso) |
Jason Monk | 731b13d | 2018-01-11 12:11:22 -0500 | [diff] [blame] | 33 | androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) |
| 34 | androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) |
| 35 | } |
| 36 | |
Jason Monk | 8a452e9 | 2017-10-31 19:21:47 -0400 | [diff] [blame] | 37 | supportLibrary { |
Aurimas Liutikas | cdcbdb0 | 2017-11-28 15:28:01 -0800 | [diff] [blame] | 38 | name = "Slice views" |
| 39 | publish = true |
Jason Monk | db7ed47 | 2017-11-14 19:31:23 -0500 | [diff] [blame] | 40 | mavenVersion = LibraryVersions.SUPPORT_LIBRARY |
Aurimas Liutikas | ac5fe7c | 2018-03-06 14:40:53 -0800 | [diff] [blame] | 41 | mavenGroup = LibraryGroups.SLICE |
Aurimas Liutikas | cdcbdb0 | 2017-11-28 15:28:01 -0800 | [diff] [blame] | 42 | inceptionYear = "2017" |
| 43 | description = "A library that handles rendering of slice content into supported templates" |
Jason Monk | f68dde0 | 2018-03-27 13:12:28 -0400 | [diff] [blame] | 44 | minSdkVersion = 19 |
Aurimas Liutikas | bfef093 | 2018-04-04 13:25:38 -0700 | [diff] [blame] | 45 | failOnUncheckedWarnings = false |
| 46 | failOnDeprecationWarnings = false |
Jason Monk | 8a452e9 | 2017-10-31 19:21:47 -0400 | [diff] [blame] | 47 | } |