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 | 526389b | 2018-02-27 14:01:24 -0800 | [diff] [blame] | 17 | import static androidx.build.dependencies.DependenciesKt.* |
| 18 | import androidx.build.LibraryGroups |
| 19 | import androidx.build.LibraryVersions |
| 20 | import androidx.build.SupportLibraryExtension |
Aurimas Liutikas | bb85fac | 2017-08-24 13:32:28 -0700 | [diff] [blame] | 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 | dependencies { |
Alan Viverette | bdc4c86 | 2018-03-08 18:02:39 -0500 | [diff] [blame^] | 28 | api(project(":arch:core-runtime")) |
| 29 | api(project(":paging:paging-common")) |
| 30 | api(project(":lifecycle:lifecycle-runtime")) |
| 31 | api(project(":lifecycle:lifecycle-livedata")) |
Chris Craik | 9fd8e617 | 2017-06-23 14:07:04 -0700 | [diff] [blame] | 32 | |
Alan Viverette | bdc4c86 | 2018-03-08 18:02:39 -0500 | [diff] [blame^] | 33 | api(SUPPORT_RECYCLERVIEW, libs.support_exclude_config) |
Chris Craik | 9fd8e617 | 2017-06-23 14:07:04 -0700 | [diff] [blame] | 34 | |
Aurimas Liutikas | f4ec12f | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 35 | 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 Wharton | 843419a | 2017-12-06 11:16:56 -0500 | [diff] [blame] | 38 | androidTestImplementation(TEST_RUNNER) |
| 39 | androidTestImplementation(ESPRESSO_CORE) |
Aurimas Liutikas | 81b5bac | 2017-11-28 13:26:43 -0800 | [diff] [blame] | 40 | androidTestImplementation(KOTLIN_STDLIB) |
Chris Craik | 9fd8e617 | 2017-06-23 14:07:04 -0700 | [diff] [blame] | 41 | } |
| 42 | |
Aurimas Liutikas | bb85fac | 2017-08-24 13:32:28 -0700 | [diff] [blame] | 43 | supportLibrary { |
Chris Craik | 6dd2783 | 2018-01-19 10:49:19 -0800 | [diff] [blame] | 44 | name = "Android Paging-Runtime" |
Aurimas Liutikas | ea5ee82 | 2017-11-06 12:52:28 -0800 | [diff] [blame] | 45 | publish = true |
Aurimas Liutikas | 78c1ab7 | 2017-11-08 13:33:51 -0800 | [diff] [blame] | 46 | mavenVersion = LibraryVersions.PAGING |
Aurimas Liutikas | 7f40a7e | 2017-10-27 17:55:06 -0700 | [diff] [blame] | 47 | mavenGroup = LibraryGroups.PAGING |
Aurimas Liutikas | ea5ee82 | 2017-11-06 12:52:28 -0800 | [diff] [blame] | 48 | inceptionYear = "2017" |
Chris Craik | 6dd2783 | 2018-01-19 10:49:19 -0800 | [diff] [blame] | 49 | description = "Android Paging-Runtime" |
Aurimas Liutikas | ea5ee82 | 2017-11-06 12:52:28 -0800 | [diff] [blame] | 50 | url = SupportLibraryExtension.ARCHITECTURE_URL |
Chris Craik | 17347a1 | 2018-02-09 16:07:30 -0800 | [diff] [blame] | 51 | } |