blob: d214a1966a4b3f91bd86be0fd9ca410e0fbadd6b [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 Liutikas526389b2018-02-27 14:01:24 -080017import static androidx.build.dependencies.DependenciesKt.*
18import androidx.build.LibraryVersions
19import androidx.build.LibraryGroups
Jason Monkdb7ed472017-11-14 19:31:23 -050020
Jason Monk8a452e92017-10-31 19:21:47 -040021plugins {
22 id("SupportAndroidLibraryPlugin")
23}
24
25dependencies {
Aurimas Liutikas4d33d5f2018-04-10 11:09:27 -070026 implementation(project(":slice-core"))
27 implementation(project(":slice-builders"))
Aurimas Liutikasac5fe7c2018-03-06 14:40:53 -080028 implementation(project(":recyclerview"))
Sergey Vasilinets48bc9f02018-02-28 13:27:38 -080029 api(ARCH_LIFECYCLE_LIVEDATA_CORE, libs.exclude_annotations_transitive)
Jason Monk901e2a62017-12-18 15:40:24 -050030
Filip Pavlisa8792942018-03-08 21:01:59 +000031 androidTestImplementation(TEST_RUNNER_TMP, libs.exclude_for_espresso)
32 androidTestImplementation(ESPRESSO_CORE_TMP, libs.exclude_for_espresso)
Jason Monk731b13d2018-01-11 12:11:22 -050033 androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy)
34 androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy)
35}
36
Jason Monk8a452e92017-10-31 19:21:47 -040037supportLibrary {
Aurimas Liutikascdcbdb02017-11-28 15:28:01 -080038 name = "Slice views"
39 publish = true
Jason Monkdb7ed472017-11-14 19:31:23 -050040 mavenVersion = LibraryVersions.SUPPORT_LIBRARY
Aurimas Liutikasac5fe7c2018-03-06 14:40:53 -080041 mavenGroup = LibraryGroups.SLICE
Aurimas Liutikascdcbdb02017-11-28 15:28:01 -080042 inceptionYear = "2017"
43 description = "A library that handles rendering of slice content into supported templates"
Jason Monkf68dde02018-03-27 13:12:28 -040044 minSdkVersion = 19
Aurimas Liutikasbfef0932018-04-04 13:25:38 -070045 failOnUncheckedWarnings = false
46 failOnDeprecationWarnings = false
Jason Monk8a452e92017-10-31 19:21:47 -040047}