Chris Craik | 368e82c | 2018-02-12 16:40:12 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2018 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 | |
| 17 | import static androidx.build.dependencies.DependenciesKt.* |
| 18 | import androidx.build.LibraryGroups |
| 19 | import androidx.build.LibraryVersions |
| 20 | import androidx.build.SupportLibraryExtension |
| 21 | |
| 22 | plugins { |
| 23 | id("SupportAndroidLibraryPlugin") |
| 24 | id("kotlin-android") |
| 25 | } |
| 26 | |
Jake Wharton | d717656 | 2018-08-04 02:06:27 -0400 | [diff] [blame] | 27 | android { |
| 28 | lintOptions { |
| 29 | fatal("UnknownNullness") |
| 30 | } |
| 31 | } |
| 32 | |
Chris Craik | 368e82c | 2018-02-12 16:40:12 -0800 | [diff] [blame] | 33 | dependencies { |
Chris Craik | 368e82c | 2018-02-12 16:40:12 -0800 | [diff] [blame] | 34 | api(project(":paging:paging-common")) |
| 35 | |
Oussama Ben Abdelbaki | 237c894 | 2019-02-11 15:57:21 -0500 | [diff] [blame] | 36 | api(project(":arch:core-runtime")) |
Chris Craik | f02d885 | 2018-10-31 08:14:07 -0700 | [diff] [blame] | 37 | |
Chris Craik | 368e82c | 2018-02-12 16:40:12 -0800 | [diff] [blame] | 38 | api(RX_JAVA) |
| 39 | androidTestImplementation(JUNIT) |
| 40 | androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker |
| 41 | androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker |
Alan Viverette | badf2f8 | 2018-12-18 12:14:10 -0500 | [diff] [blame] | 42 | androidTestImplementation(TEST_EXT_JUNIT) |
| 43 | androidTestImplementation(TEST_CORE) |
Chris Craik | 368e82c | 2018-02-12 16:40:12 -0800 | [diff] [blame] | 44 | androidTestImplementation(TEST_RUNNER) |
| 45 | androidTestImplementation(ESPRESSO_CORE) |
| 46 | androidTestImplementation(KOTLIN_STDLIB) |
| 47 | } |
| 48 | |
Aurimas Liutikas | 2ad3161 | 2019-04-01 04:23:03 -0700 | [diff] [blame^] | 49 | androidx { |
Chris Craik | 368e82c | 2018-02-12 16:40:12 -0800 | [diff] [blame] | 50 | name = "Android Paging RXJava2" |
| 51 | publish = true |
Chris Craik | 687d0f2 | 2018-05-16 11:04:32 -0700 | [diff] [blame] | 52 | mavenVersion = LibraryVersions.PAGING |
Chris Craik | 368e82c | 2018-02-12 16:40:12 -0800 | [diff] [blame] | 53 | mavenGroup = LibraryGroups.PAGING |
| 54 | inceptionYear = "2018" |
| 55 | description = "Android Paging RXJava2" |
| 56 | url = SupportLibraryExtension.ARCHITECTURE_URL |
Chris Craik | 368e82c | 2018-02-12 16:40:12 -0800 | [diff] [blame] | 57 | } |