blob: 6bda2337441cde8afb487043f1d2043698b40157 [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 Liutikasf4ec12f2017-11-22 12:55:43 -080017import static android.support.dependencies.DependenciesKt.*
Aurimas Liutikas7f40a7e2017-10-27 17:55:06 -070018import android.support.LibraryGroups
Yigit Boyard3829822017-08-25 16:53:25 -070019import android.support.LibraryVersions
Aurimas Liutikasbb85fac2017-08-24 13:32:28 -070020import android.support.SupportLibraryExtension
21
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 -070027android {
Chris Craik9fd8e6172017-06-23 14:07:04 -070028 defaultConfig {
29 minSdkVersion flatfoot.min_sdk
Chris Craik9fd8e6172017-06-23 14:07:04 -070030 }
31}
32
33dependencies {
Aurimas Liutikasf4ec12f2017-11-22 12:55:43 -080034 api(project(":arch:runtime"))
35 api(project(":paging:common"))
36 api(project(":lifecycle:runtime"))
37 api(project(":lifecycle:extensions"))
Chris Craik9fd8e6172017-06-23 14:07:04 -070038
Aurimas Liutikas87a16a52017-11-09 13:53:34 -080039 api libs.support.recyclerview, libs.support_exclude_config
Chris Craik9fd8e6172017-06-23 14:07:04 -070040
Aurimas Liutikasf4ec12f2017-11-22 12:55:43 -080041 androidTestImplementation(JUNIT)
42 androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
43 androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
44 androidTestImplementation(TEST_RUNNER, libs.exclude_annotations)
45 androidTestImplementation(ESPRESSO_CORE, libs.exclude_annotations)
Aurimas Liutikas81b5bac2017-11-28 13:26:43 -080046 androidTestImplementation(KOTLIN_STDLIB)
Chris Craik9fd8e6172017-06-23 14:07:04 -070047}
48
Aurimas Liutikasbb85fac2017-08-24 13:32:28 -070049supportLibrary {
Aurimas Liutikasea5ee822017-11-06 12:52:28 -080050 name = "Android Lifecycle Extensions"
51 publish = true
Aurimas Liutikas78c1ab72017-11-08 13:33:51 -080052 mavenVersion = LibraryVersions.PAGING
Aurimas Liutikas7f40a7e2017-10-27 17:55:06 -070053 mavenGroup = LibraryGroups.PAGING
Aurimas Liutikasea5ee822017-11-06 12:52:28 -080054 inceptionYear = "2017"
55 description = "Android Lifecycle Extensions"
56 url = SupportLibraryExtension.ARCHITECTURE_URL
Aurimas Liutikasbb85fac2017-08-24 13:32:28 -070057}