blob: 8d87eb5e9937983ac138045a18ba3f062914c269 [file] [log] [blame]
Jason Monk8a452e92017-10-31 19:21:47 -04001/*
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 Liutikascdcbdb02017-11-28 15:28:01 -080017import static android.support.dependencies.DependenciesKt.*
Jason Monkdb7ed472017-11-14 19:31:23 -050018import android.support.LibraryVersions
19import android.support.LibraryGroups
20
Jason Monk8a452e92017-10-31 19:21:47 -040021plugins {
22 id("SupportAndroidLibraryPlugin")
23}
24
25dependencies {
Aurimas Liutikascdcbdb02017-11-28 15:28:01 -080026 implementation(project(":slices-core"))
27 implementation(project(":slices-builders"))
Jason Monkb2c45792017-12-14 17:30:21 -050028 implementation(project(":recyclerview-v7"))
29 api(ARCH_LIFECYCLE_EXTENSIONS, libs.exclude_annotations_transitive)
Jason Monk901e2a62017-12-18 15:40:24 -050030
31 androidTestImplementation(TEST_RUNNER)
Jason Monk8a452e92017-10-31 19:21:47 -040032}
33
Jason Monk8a452e92017-10-31 19:21:47 -040034supportLibrary {
Aurimas Liutikascdcbdb02017-11-28 15:28:01 -080035 name = "Slice views"
36 publish = true
Jason Monkdb7ed472017-11-14 19:31:23 -050037 mavenVersion = LibraryVersions.SUPPORT_LIBRARY
38 mavenGroup = LibraryGroups.SLICES
Aurimas Liutikascdcbdb02017-11-28 15:28:01 -080039 inceptionYear = "2017"
40 description = "A library that handles rendering of slice content into supported templates"
Jason Monk0da0ca32017-12-19 13:17:16 -050041 minSdkVersion = 24
Jason Monk8a452e92017-10-31 19:21:47 -040042}