blob: dd9189c08ea3adf029c68cb12d7b0c7b2d759d9b [file] [log] [blame]
Chris Craik9fd8e6172017-06-23 14:07:04 -07001/*
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 */
Aurimas Liutikase4741f3c2017-07-14 17:32:12 -070016
Aurimas Liutikas526389b2018-02-27 14:01:24 -080017import static androidx.build.dependencies.DependenciesKt.*
18import androidx.build.LibraryGroups
19import androidx.build.LibraryVersions
20import androidx.build.SupportLibraryExtension
Aurimas Liutikasbb85fac2017-08-24 13:32:28 -070021
Aurimas Liutikasf8b708a2017-11-02 16:07:13 -070022plugins {
23 id("SupportAndroidLibraryPlugin")
24 id("kotlin-android")
25}
Aurimas Liutikasbb85fac2017-08-24 13:32:28 -070026
Chris Craik9fd8e6172017-06-23 14:07:04 -070027dependencies {
Alan Viverettebdc4c862018-03-08 18:02:39 -050028 api(project(":arch:core-runtime"))
29 api(project(":paging:paging-common"))
30 api(project(":lifecycle:lifecycle-runtime"))
31 api(project(":lifecycle:lifecycle-livedata"))
Chris Craik9fd8e6172017-06-23 14:07:04 -070032
Alan Viverettebdc4c862018-03-08 18:02:39 -050033 api(SUPPORT_RECYCLERVIEW, libs.support_exclude_config)
Chris Craik9fd8e6172017-06-23 14:07:04 -070034
Aurimas Liutikasf4ec12f2017-11-22 12:55:43 -080035 androidTestImplementation(JUNIT)
36 androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
37 androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
Jake Wharton843419a2017-12-06 11:16:56 -050038 androidTestImplementation(TEST_RUNNER)
39 androidTestImplementation(ESPRESSO_CORE)
Aurimas Liutikas81b5bac2017-11-28 13:26:43 -080040 androidTestImplementation(KOTLIN_STDLIB)
Chris Craik9fd8e6172017-06-23 14:07:04 -070041}
42
Aurimas Liutikasbb85fac2017-08-24 13:32:28 -070043supportLibrary {
Chris Craik6dd27832018-01-19 10:49:19 -080044 name = "Android Paging-Runtime"
Aurimas Liutikasea5ee822017-11-06 12:52:28 -080045 publish = true
Aurimas Liutikas78c1ab72017-11-08 13:33:51 -080046 mavenVersion = LibraryVersions.PAGING
Aurimas Liutikas7f40a7e2017-10-27 17:55:06 -070047 mavenGroup = LibraryGroups.PAGING
Aurimas Liutikasea5ee822017-11-06 12:52:28 -080048 inceptionYear = "2017"
Chris Craik6dd27832018-01-19 10:49:19 -080049 description = "Android Paging-Runtime"
Aurimas Liutikasea5ee822017-11-06 12:52:28 -080050 url = SupportLibraryExtension.ARCHITECTURE_URL
Chris Craik17347a12018-02-09 16:07:30 -080051}