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 |
Aurimas Liutikas | b63ef63 | 2019-04-01 04:37:49 -0700 | [diff] [blame] | 20 | import androidx.build.AndroidXExtension |
Aurimas Liutikas | 75e93a0 | 2019-05-28 16:31:38 -0700 | [diff] [blame] | 21 | import androidx.build.Publish |
Chris Craik | 368e82c | 2018-02-12 16:40:12 -0800 | [diff] [blame] | 22 | |
| 23 | plugins { |
Aurimas Liutikas | cdb9f9f | 2019-04-08 12:07:49 +0100 | [diff] [blame] | 24 | id("AndroidXPlugin") |
| 25 | id("com.android.library") |
Chris Craik | 368e82c | 2018-02-12 16:40:12 -0800 | [diff] [blame] | 26 | id("kotlin-android") |
| 27 | } |
| 28 | |
Jake Wharton | d717656 | 2018-08-04 02:06:27 -0400 | [diff] [blame] | 29 | android { |
| 30 | lintOptions { |
| 31 | fatal("UnknownNullness") |
| 32 | } |
| 33 | } |
| 34 | |
Chris Craik | 368e82c | 2018-02-12 16:40:12 -0800 | [diff] [blame] | 35 | dependencies { |
Chris Craik | 368e82c | 2018-02-12 16:40:12 -0800 | [diff] [blame] | 36 | api(project(":paging:paging-common")) |
Oussama Ben Abdelbaki | 237c894 | 2019-02-11 15:57:21 -0500 | [diff] [blame] | 37 | api(project(":arch:core-runtime")) |
Chris Craik | 368e82c | 2018-02-12 16:40:12 -0800 | [diff] [blame] | 38 | api(RX_JAVA) |
Dustin Lam | c88868c | 2019-05-31 22:37:48 -0700 | [diff] [blame] | 39 | implementation(KOTLIN_STDLIB) |
Dustin Lam | 0699f45 | 2019-03-21 07:46:09 -0700 | [diff] [blame] | 40 | |
Dustin Lam | c88868c | 2019-05-31 22:37:48 -0700 | [diff] [blame] | 41 | testImplementation project(':internal-testutils-common') |
Dustin Lam | 0699f45 | 2019-03-21 07:46:09 -0700 | [diff] [blame] | 42 | testImplementation(JUNIT) |
Dustin Lam | 0699f45 | 2019-03-21 07:46:09 -0700 | [diff] [blame] | 43 | testImplementation(KOTLIN_TEST_COMMON) |
Dustin Lam | 83f4510 | 2019-06-03 13:02:45 -0700 | [diff] [blame^] | 44 | |
| 45 | androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT) |
| 46 | androidTestImplementation(ANDROIDX_TEST_CORE) |
| 47 | androidTestImplementation(ANDROIDX_TEST_RUNNER) |
| 48 | androidTestImplementation(ARCH_CORE_TESTING) |
Chris Craik | 368e82c | 2018-02-12 16:40:12 -0800 | [diff] [blame] | 49 | } |
| 50 | |
Aurimas Liutikas | 2ad3161 | 2019-04-01 04:23:03 -0700 | [diff] [blame] | 51 | androidx { |
Chris Craik | 368e82c | 2018-02-12 16:40:12 -0800 | [diff] [blame] | 52 | name = "Android Paging RXJava2" |
Aurimas Liutikas | 75e93a0 | 2019-05-28 16:31:38 -0700 | [diff] [blame] | 53 | publish = Publish.SNAPSHOT_AND_RELEASE |
Chris Craik | 687d0f2 | 2018-05-16 11:04:32 -0700 | [diff] [blame] | 54 | mavenVersion = LibraryVersions.PAGING |
Chris Craik | 368e82c | 2018-02-12 16:40:12 -0800 | [diff] [blame] | 55 | mavenGroup = LibraryGroups.PAGING |
| 56 | inceptionYear = "2018" |
| 57 | description = "Android Paging RXJava2" |
Aurimas Liutikas | b63ef63 | 2019-04-01 04:37:49 -0700 | [diff] [blame] | 58 | url = AndroidXExtension.ARCHITECTURE_URL |
Chris Craik | 368e82c | 2018-02-12 16:40:12 -0800 | [diff] [blame] | 59 | } |