Chris Craik | 9fd8e617 | 2017-06-23 14:07:04 -0700 | [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 | */ |
Aurimas Liutikas | e4741f3c | 2017-07-14 17:32:12 -0700 | [diff] [blame] | 16 | |
Aurimas Liutikas | f4ec12f | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 17 | import static android.support.dependencies.DependenciesKt.* |
Aurimas Liutikas | 7f40a7e | 2017-10-27 17:55:06 -0700 | [diff] [blame] | 18 | import android.support.LibraryGroups |
Yigit Boyar | d382982 | 2017-08-25 16:53:25 -0700 | [diff] [blame] | 19 | import android.support.LibraryVersions |
Aurimas Liutikas | bb85fac | 2017-08-24 13:32:28 -0700 | [diff] [blame] | 20 | import android.support.SupportLibraryExtension |
| 21 | |
Aurimas Liutikas | f8b708a | 2017-11-02 16:07:13 -0700 | [diff] [blame] | 22 | plugins { |
| 23 | id("SupportAndroidLibraryPlugin") |
| 24 | id("kotlin-android") |
| 25 | } |
Aurimas Liutikas | bb85fac | 2017-08-24 13:32:28 -0700 | [diff] [blame] | 26 | |
Chris Craik | 9fd8e617 | 2017-06-23 14:07:04 -0700 | [diff] [blame] | 27 | android { |
Chris Craik | 9fd8e617 | 2017-06-23 14:07:04 -0700 | [diff] [blame] | 28 | defaultConfig { |
| 29 | minSdkVersion flatfoot.min_sdk |
Chris Craik | 9fd8e617 | 2017-06-23 14:07:04 -0700 | [diff] [blame] | 30 | } |
| 31 | } |
| 32 | |
| 33 | dependencies { |
Aurimas Liutikas | f4ec12f | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 34 | api(project(":arch:runtime")) |
| 35 | api(project(":paging:common")) |
| 36 | api(project(":lifecycle:runtime")) |
| 37 | api(project(":lifecycle:extensions")) |
Chris Craik | 9fd8e617 | 2017-06-23 14:07:04 -0700 | [diff] [blame] | 38 | |
Aurimas Liutikas | 87a16a5 | 2017-11-09 13:53:34 -0800 | [diff] [blame] | 39 | api libs.support.recyclerview, libs.support_exclude_config |
Chris Craik | 9fd8e617 | 2017-06-23 14:07:04 -0700 | [diff] [blame] | 40 | |
Aurimas Liutikas | f4ec12f | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 41 | 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 Liutikas | 81b5bac | 2017-11-28 13:26:43 -0800 | [diff] [blame^] | 46 | androidTestImplementation(KOTLIN_STDLIB) |
Chris Craik | 9fd8e617 | 2017-06-23 14:07:04 -0700 | [diff] [blame] | 47 | } |
| 48 | |
Aurimas Liutikas | bb85fac | 2017-08-24 13:32:28 -0700 | [diff] [blame] | 49 | supportLibrary { |
Aurimas Liutikas | ea5ee82 | 2017-11-06 12:52:28 -0800 | [diff] [blame] | 50 | name = "Android Lifecycle Extensions" |
| 51 | publish = true |
Aurimas Liutikas | 78c1ab7 | 2017-11-08 13:33:51 -0800 | [diff] [blame] | 52 | mavenVersion = LibraryVersions.PAGING |
Aurimas Liutikas | 7f40a7e | 2017-10-27 17:55:06 -0700 | [diff] [blame] | 53 | mavenGroup = LibraryGroups.PAGING |
Aurimas Liutikas | ea5ee82 | 2017-11-06 12:52:28 -0800 | [diff] [blame] | 54 | inceptionYear = "2017" |
| 55 | description = "Android Lifecycle Extensions" |
| 56 | url = SupportLibraryExtension.ARCHITECTURE_URL |
Aurimas Liutikas | bb85fac | 2017-08-24 13:32:28 -0700 | [diff] [blame] | 57 | } |