| 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 |
| Aurimas Liutikas | 75e93a0 | 2019-05-28 16:31:38 -0700 | [diff] [blame] | 20 | import androidx.build.Publish |
| Jason Monk | db7ed47 | 2017-11-14 19:31:23 -0500 | [diff] [blame] | 21 | |
| Jason Monk | 8a452e9 | 2017-10-31 19:21:47 -0400 | [diff] [blame] | 22 | plugins { |
| Aurimas Liutikas | cdb9f9f | 2019-04-08 12:07:49 +0100 | [diff] [blame] | 23 | id("AndroidXPlugin") |
| 24 | id("com.android.library") |
| Jason Monk | 8a452e9 | 2017-10-31 19:21:47 -0400 | [diff] [blame] | 25 | } |
| 26 | |
| 27 | dependencies { |
| Aurimas Liutikas | 4d33d5f | 2018-04-10 11:09:27 -0700 | [diff] [blame] | 28 | implementation(project(":slice-core")) |
| Jim Sproch | 9e38b4f | 2021-01-06 14:21:06 -0800 | [diff] [blame^] | 29 | implementation(project(":appcompat:appcompat")) |
| Nick Anthony | 9dc0521 | 2021-01-11 10:29:48 -0500 | [diff] [blame] | 30 | implementation("androidx.recyclerview:recyclerview:1.2.0-beta01") |
| Nick Anthony | 692b3e95 | 2019-06-04 11:25:56 -0400 | [diff] [blame] | 31 | implementation("androidx.collection:collection:1.1.0") |
| Ian Lake | 005a920 | 2019-09-26 16:17:25 -0700 | [diff] [blame] | 32 | api("androidx.lifecycle:lifecycle-livedata-core:2.0.0") |
| Jason Monk | 901e2a6 | 2017-12-18 15:40:24 -0500 | [diff] [blame] | 33 | |
| Mady Mellor | ed423ac | 2018-05-04 09:21:49 -0700 | [diff] [blame] | 34 | androidTestImplementation(project(":slice-builders")) |
| Jason Monk | 1d7c4ff | 2018-06-01 14:11:26 -0400 | [diff] [blame] | 35 | androidTestImplementation(project(":slice-test")) |
| Dustin Lam | 3979d96 | 2019-04-08 10:40:19 -0700 | [diff] [blame] | 36 | androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT) |
| 37 | androidTestImplementation(ANDROIDX_TEST_CORE) |
| 38 | androidTestImplementation(ANDROIDX_TEST_RUNNER) |
| 39 | androidTestImplementation(ANDROIDX_TEST_RULES) |
| Aurimas Liutikas | 3f9ceb6 | 2018-07-10 11:57:16 -0700 | [diff] [blame] | 40 | androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso) |
| Jason Monk | 731b13d | 2018-01-11 12:11:22 -0500 | [diff] [blame] | 41 | androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) |
| 42 | androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) |
| 43 | } |
| 44 | |
| Aurimas Liutikas | 2ad3161 | 2019-04-01 04:23:03 -0700 | [diff] [blame] | 45 | androidx { |
| Aurimas Liutikas | cdcbdb0 | 2017-11-28 15:28:01 -0800 | [diff] [blame] | 46 | name = "Slice views" |
| Aurimas Liutikas | 75e93a0 | 2019-05-28 16:31:38 -0700 | [diff] [blame] | 47 | publish = Publish.SNAPSHOT_AND_RELEASE |
| Jason Monk | ca39c26 | 2018-07-24 14:47:02 -0400 | [diff] [blame] | 48 | mavenVersion = LibraryVersions.SLICE |
| Aurimas Liutikas | ac5fe7c | 2018-03-06 14:40:53 -0800 | [diff] [blame] | 49 | mavenGroup = LibraryGroups.SLICE |
| Aurimas Liutikas | cdcbdb0 | 2017-11-28 15:28:01 -0800 | [diff] [blame] | 50 | inceptionYear = "2017" |
| 51 | description = "A library that handles rendering of slice content into supported templates" |
| Aurimas Liutikas | bfef093 | 2018-04-04 13:25:38 -0700 | [diff] [blame] | 52 | failOnDeprecationWarnings = false |
| Jason Monk | 8a452e9 | 2017-10-31 19:21:47 -0400 | [diff] [blame] | 53 | } |