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 | cdcbdb0 | 2017-11-28 15:28:01 -0800 | [diff] [blame] | 17 | import static android.support.dependencies.DependenciesKt.* |
Jason Monk | db7ed47 | 2017-11-14 19:31:23 -0500 | [diff] [blame] | 18 | import android.support.LibraryVersions |
| 19 | import android.support.LibraryGroups |
| 20 | |
Jason Monk | 8a452e9 | 2017-10-31 19:21:47 -0400 | [diff] [blame] | 21 | plugins { |
| 22 | id("SupportAndroidLibraryPlugin") |
| 23 | } |
| 24 | |
| 25 | dependencies { |
Aurimas Liutikas | cdcbdb0 | 2017-11-28 15:28:01 -0800 | [diff] [blame] | 26 | implementation(project(":slices-core")) |
| 27 | implementation(project(":slices-builders")) |
Jason Monk | b2c4579 | 2017-12-14 17:30:21 -0500 | [diff] [blame] | 28 | implementation(project(":recyclerview-v7")) |
| 29 | api(ARCH_LIFECYCLE_EXTENSIONS, libs.exclude_annotations_transitive) |
Jason Monk | 901e2a6 | 2017-12-18 15:40:24 -0500 | [diff] [blame] | 30 | |
| 31 | androidTestImplementation(TEST_RUNNER) |
Jason Monk | 8a452e9 | 2017-10-31 19:21:47 -0400 | [diff] [blame] | 32 | } |
| 33 | |
Jason Monk | 8a452e9 | 2017-10-31 19:21:47 -0400 | [diff] [blame] | 34 | supportLibrary { |
Aurimas Liutikas | cdcbdb0 | 2017-11-28 15:28:01 -0800 | [diff] [blame] | 35 | name = "Slice views" |
| 36 | publish = true |
Jason Monk | db7ed47 | 2017-11-14 19:31:23 -0500 | [diff] [blame] | 37 | mavenVersion = LibraryVersions.SUPPORT_LIBRARY |
| 38 | mavenGroup = LibraryGroups.SLICES |
Aurimas Liutikas | cdcbdb0 | 2017-11-28 15:28:01 -0800 | [diff] [blame] | 39 | inceptionYear = "2017" |
| 40 | description = "A library that handles rendering of slice content into supported templates" |
Jason Monk | 0da0ca3 | 2017-12-19 13:17:16 -0500 | [diff] [blame] | 41 | minSdkVersion = 24 |
Jason Monk | 8a452e9 | 2017-10-31 19:21:47 -0400 | [diff] [blame] | 42 | } |