blob: da2f09a8ae8b838e278f6778c04d148dda2a552f [file] [log] [blame]
Chris Craik368e82c2018-02-12 16:40:12 -08001/*
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
17import static androidx.build.dependencies.DependenciesKt.*
18import androidx.build.LibraryGroups
19import androidx.build.LibraryVersions
20import androidx.build.SupportLibraryExtension
21
22plugins {
23 id("SupportAndroidLibraryPlugin")
24 id("kotlin-android")
25}
26
Jake Whartond7176562018-08-04 02:06:27 -040027android {
28 lintOptions {
29 fatal("UnknownNullness")
30 }
31}
32
Chris Craik368e82c2018-02-12 16:40:12 -080033dependencies {
Chris Craik368e82c2018-02-12 16:40:12 -080034 api(project(":paging:paging-common"))
35
Oussama Ben Abdelbaki237c8942019-02-11 15:57:21 -050036 api(project(":arch:core-runtime"))
Chris Craikf02d8852018-10-31 08:14:07 -070037
Chris Craik368e82c2018-02-12 16:40:12 -080038 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 Viverettebadf2f82018-12-18 12:14:10 -050042 androidTestImplementation(TEST_EXT_JUNIT)
43 androidTestImplementation(TEST_CORE)
Chris Craik368e82c2018-02-12 16:40:12 -080044 androidTestImplementation(TEST_RUNNER)
45 androidTestImplementation(ESPRESSO_CORE)
46 androidTestImplementation(KOTLIN_STDLIB)
47}
48
Aurimas Liutikas2ad31612019-04-01 04:23:03 -070049androidx {
Chris Craik368e82c2018-02-12 16:40:12 -080050 name = "Android Paging RXJava2"
51 publish = true
Chris Craik687d0f22018-05-16 11:04:32 -070052 mavenVersion = LibraryVersions.PAGING
Chris Craik368e82c2018-02-12 16:40:12 -080053 mavenGroup = LibraryGroups.PAGING
54 inceptionYear = "2018"
55 description = "Android Paging RXJava2"
56 url = SupportLibraryExtension.ARCHITECTURE_URL
Chris Craik368e82c2018-02-12 16:40:12 -080057}